Creating Story-Defined Thresholds

Thresholds can be used to compare measures to a fixed range or to other measures.

Prerequisites

To create a threshold, you must be on a story page.

Note
When comparing measures to measures, the following are not supported:
  • SAP Business Warehouse (BW) connections
  • SAP S/4HANA connections
  • Out of Context Blending (creating blended charts or tables without including the linked dimension in the chart or table)
Note

A threshold is defined on a specific hierarchy in an account dimension. When you have multiple hierarchies in an account dimension, you will need to create different thresholds for each hierarchy.

Context

Use thresholds to provide visual cues for your information, so that you can quickly see what areas are doing well, and what areas may need improvements.

Restriction

When you are comparing negative values, your results may not be what you assumed they should be.

To provide more accurate results, the system uses a formula to compare measures:

if (MeasureB == 0) {       \\(Can't divide by 0)
       MeasureA/|MeasureA| > percentage    \\(absolute value of MeasureA)
   } else if (MeasureB < 0 || MeasureA < 0){
        (MeasureA - MeasureB)/|MeasureB| > percentage  \\(compare variance to percentage)
   } else {
        MeasureA/MeasureB > percentage  \\(compare ratio to percentage)
 }

The following table shows how the formula is applied.

Condition Formula Description
If MeasureB is 0 MeasureA / ABS(MeasureA) Return +/- 100% when baseline is 0
If MeasureA and MeasureB are positive (>0) MeasureA / MeasureB Ratio
If MeasureA or MeasureB is negative, or MeasureA is 0 MeasureA - MeasureB / ABS(MeasureB) Variance

If you put that formula into Excel, you would write it as follows: =IF(B5=0,A5/ABS(A5), IF(OR(A5<0,B5<0),((A5-B5)/ABS(B5)), A5/B5))

The following table shows the ratio and formula results from comparing the positive and negative values (profits/losses) for two years.

  A B C D E
1 This year (A) Last year (B) Ratio result (A/B) Formula result Description
2 1,000,000 2,000,000 50% 50% Company made half as much this year.
3 2,000,000 1,000,000 200% 200% Company doubled profits.
4 0 1,000,000 0% 0% Company made no money this year after a profit last year.
5 -1,000,000 0 #DIV/0! -100% Company lost money this year after breaking even last year.
6 -1,000,000 -2,000,000 50% 50% Company lost half as much this year.
7 -2,000,000 -1,000,000 200% -100% Company lost twice as much this year.
8 -1,000,000 1,000,000 -100% -200% Company turned a profit into a loss.
9 1,000,000 -1,000,000 -100% 200% Company turned a loss into a profit.
There are three default ranges with the following labels and colors:
  • Green square: OK
  • Orange triangle: Warning
  • Red circle: Critical
Tip

When the Thresholds panel opens, you may only see one range: a green square followed by the word OK. Click Add Range twice to add the Warning and Critical ranges.

You can use as many or as few ranges as you like, and you can change the label names and colors. (However, when you change the icon colors, you may see a circle with your new color, not a triangle or square.)

When you enter the value for your range, the value appears on the line at the bottom of the panel. The value includes a letter to designate whether it is thousands, millions, and so on.

You do not need to set both an upper and a lower bound if you have only one range. When you add more ranges, you can leave either the upper or lower bound empty.

Procedure

  1. From the Tools menu, select (Conditional Formatting).
  2. If necessary, expand Story Defined.
  3. Select Add Threshold.

    The Thresholds panel appears.

  4. Choose your model.
  5. Choose a measure.
  6. Choose a comparison option.
    • Number Range

    • Measure: In Comparison Measure, select the measure to compare to.

      Optional: To include a NULL data point in your results, select Set no data as zero to set the value to zero.

  7. Under Ranges, set a lower bound and an upper bound for your range.

    As you type your values for the upper and lower bounds, you will see a warning appear if the value does not fall within the range. For example, a lower bound cannot be larger than the upper bound.

    (Optional) Change the icon or label for your range.

  8. To add another range, select Add Range.
    Tip

    When you add ranges, the displayed icons and labels will keep cycling through the default choices: OK, Warning, Critical, Warning, OK, Warning, Critical, and so on.

  9. Select Add Filters and choose a dimension from the list.
    The filter dialog appears.
    1. Select one or more members.
    2. Select Modify Settings for Users.

      By default, users are allowed to modify filter selections and multiple selections are allowed.

      Selection Type Information
      Single Selection

      Users can apply only one filter to the threshold at a time. For example, if there is a filter on time, the user can choose to display 2014 sales in the chart.

      Multiple Selection

      Users can apply multiple filters to the threshold. For example, if there is a filter on time, the user can choose to display 2013 and 2015 sales in the chart.

    3. To prevent users from modifying the threshold filter, disable Allow viewers to modify selections.
    4. Select OK.
  10. To add another threshold, select Add Threshold.
    Note
    A warning will appear if you create a threshold range that already exists. You must either change the range or apply additional filters to the threshold.
  11. When you have finished adding thresholds, click Apply.
  12. Select Done.

Results

The threshold you created will appear in the Conditional Formatting panel. It can be added to charts (see Using Thresholds in Charts) or tables (see Using Thresholds in Tables).