Conditional formatting (AskiaAnalyse)

This feature allows you to add visual indicators or markers to your tables for the output from specific calculation types; this can enhance the table's appearance and make it more legible. For example, you might want to display negative numbers in red. When a calculation has conditional formatting defined, this is indicated in the column headed conditional formatting in the calculations section of the general tab.

See also: defining tables

To set conditional formatting, carry out the following procedure:

  1. In the general tab, locate the calculation to which you want to apply conditional formatting.

  2. Right-click the calculation and select conditional formatting. The following dialog appears:

  3. Define the condition, its extent, and the formatting that will apply when the condition is true, as described below.

  4. Click OK.

Defining a condition

The condition determines when the conditional formatting will be applied. For example, if you wanted to highlight values between 1 and 100 in bold text, you would define the condition as between 1 and 100. You can define as many separate conditions as you wish for a calculation. Use the controls beside the condition list to add, remove and duplicate conditions:

Control Effect
Add a new condition to the condition list.
Duplicate the selected condition (an exact copy is added to the list).
Delete the selected condition.
Move the selected condition upwards in the list.
Move the selected condition downwards in the list.

 

To edit the details of a condition, first ensure in is selected in the condition list. Then set the details using the drop-down list, as follows:

You can also define where the condition will be calculated, as follows:

The extent of the condition determines which items will be formatted if the condition is true. To set the extent of a condition, ensure the condition is selected in the condition list. Then select as follows (in the following table, qualifying cell refers to the cell for which the condition evaluates true):

The on section defines whether the formatting affects flat calculations, totals, or both. By default, all are affected, but you can easily exclude certain items by de-selecting them. The available items are as follows:

In the formatting section, you can define how the values or captions will be transformed if the condition evaluates true. To set the formatting for a condition, ensure the condition is selected in the condition list. Then select as follows:

Control Effect
Set the font to bold.
Set the font to italic.
Set the font to underline.
Set the font colour.

Set the font background colour.
Create your own Knowledge Base