Editing and formatting a report : Formatting report data based on conditions : Specifying a condition : Comparing to a literal value

Comparing to a literal value

The conditional expression shown in Figure 3-6 in the previous section evaluates the Credit Limit column and compares each value to determine if it matches a value between 100000 and 200000. The 100000 and 200000 values are literal values that you type.

Alternatively, you can select a value from the list of values in the Credit Limit column. Selecting from a list of values is useful if the comparison value is a customer name and you do not know the exact customer names, or if the comparison value is a date and you do not know the date format to type. If the comparison value is a date, Interactive Viewer also provides a calendar tool, which you can use to select a date.

How to select a comparison value from a list of values

1  
Select values appears. Choose Specify literal value, then select Select Values. The values in the selected column appear. Figure 3-7 shows an example of the values in the credit limit column.

Figure 3-7  Selecting Values
2  
If there are too many values in the list, you can type a string in Find Value to search for values that begin with that string, then choose Find. For example, you can type 18 to view all credit limits that begin with 18. You cannot search for strings that appear in the middle of a value.
3  
Select a value from the list, then choose OK. The value appears in the comparison value field on Conditional Formatting.