Creating a conditional format using complex conditions

You can define multiple simple thresholds and corresponding formatting options to apply conditional formatting on a control in your document. This allows you to create thresholds for more than one metric. A simple threshold consists of one expression; for example, one threshold can calculate a revenue that is greater than $10,000.

Conditional formatting on selector totals

Selectors provide dashboards with interactivity, allowing each user to change how he sees the data. A selector can change panels, the focus of a Grid/Graph, or dynamic text fields (a text field that is a reference to an object on a report) in a panel stack. Selectors that contain attribute, custom group, or consolidation elements as selector items can also include an option to display totals. The total is calculated for all the selector items. A user can choose whether to display specific elements, all of the elements at the same time, or the totals.

If the control you are formatting is the target of a selector, you can specify whether to apply conditional formatting to the control only when metrics are selected in the selector, or for both metrics and totals. For example, a document contains the Region attribute and the Revenue metric on a panel stack. The panel stack is targeted by a selector, which allows a user to choose the region to display in the panel stack. The selector includes the option to display the total, which is calculated for all the regions. The conditional formatting on the Revenue metric displays low revenue in red and high revenue in green. The conditional formatting can be applied to the regional revenue values only (that is, the metric only), or to both the regional revenue values and the total value.

For steps to show totals in a selector, see Showing totals in selectors.

To create a conditional format using complex conditions

  1. Open the document in Design or Editable Mode.

  2. Right-click the control you want to format in the document layout area, point to Conditional Formatting, then select Advanced. The Conditional Formatting dialog box opens.

  3. Select the metric on which to base the threshold from the Filter on drop-down list.

  4. From the second drop-down list, select a comparison operator such as Greater Than or Less Than.

  5. Do one of the following:

  6. Click the Apply icon Apply icon to create the new threshold.

  7. You can create, edit, and delete thresholds:

  8. To specify how data that meets the threshold is formatted, click the threshold, then click the Cell Formatting icon on the toolbar. The Format dialog box opens.

  9. Specify a name for the threshold in the Name field, if desired.

  10. To replace the threshold values with text, an image, or a quick symbol, select the Replace Data check box and select one of the following from the drop-down list.

  11. To format the threshold values by adjusting the font, color, alignment, and other options, make the appropriate selections within the Font, Number, Alignment, and Color and Lines tabs.  See Format Thresholds Editor for more information on the options available.

  12. Click OK to apply the changes and return to the Conditional Formatting dialog box.

  13. To determine if a background color is applied to graphs in which thresholds are met, select the Enable Thresholds on Graph icon Enable Thresholds on Graph icon.

  14. To create an alert based on the threshold so that an email is delivered to you or other users when the threshold is met, select the Alert icon icon. For details on using the Alerts Editor, see the Basic Reporting Guide.

  15. To determine how to apply conditional formatting if the control you are formatting is the target of a selector, select one of the following options on the toolbar:

  16. For steps to show the Total option in a selector, see Showing totals in selectors.

  17. To add additional threshold conditions, click the Add Threshold icon Add Threshold icon, then follow the appropriate steps above to define the threshold conditions.

  18. Click OK to apply the new thresholds to the document.

Related topics