Creating Story-Defined Thresholds (Optimized Story Experience)

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

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.

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.

Restriction: Comparing Negative Values

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.

Threshold Options

There are five default ranges:
  • OK
  • Warning
  • Critical
  • Neutral
  • Information
Tip

When the Thresholds panel opens, you may only see one range: OK.

To add the remaining ranges, click Add Range once for each additional range.

The new ranges will cycle through the list forwards and then backwards.

How to Create a Story-Defined Threshold

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.

  1. From the Tools menu, select (Conditional Formatting).

    If necessary, expand Story Defined.

  2. Select Add Threshold.

    The Thresholds panel appears.

  3. Choose your model.

  4. Choose a measure.

  5. 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.

  6. 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.

  7. 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, Neutral, Information, Neutral, Critical, Warning, OK, and so on.

    1. Select Add Filters and choose a dimension from the list.

      The filter dialog appears.

      1. Select one or more members.

      2. Select OK.

  8. 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.
  9. When you have finished adding thresholds, click Apply.

  10. Select Done.

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).

Customize Symbols

You can use as many or as few ranges as you like, and you can change the label names and colors. You can also change the symbols.

To change the color or symbol, select the current symbol and then select Customize Symbol.

You have five more symbols that you can choose from.

  • Alert (A triangle with an exclamation mark)

  • A circle around one of the following characters:

    • Checkmark

    • Error (X)

    • Outline (Donut)

    • Information (lowercase “i”)

Note

When you customize the threshold symbols within a story, they will no longer be connected to the story's default theme preferences. To make your new symbol part of the default theme, you can configure it in the theme preferences.

For more information on configuring and setting theme preferences, see Story Theming (Optimized Story Experience).