Add Dynamic Text to a Story

In SAP Analytics Cloud, you can add dynamic text to a text box.

Context

Dynamic text automatically updates the text based on either the values from the source input control or filter, or from any filters applied to dimensions.
Note

Emojis are not supported in SAP Analytics Cloud.

If you have emojis in text that you want to copy into your story, you will need to remove them before copying.

Note
You can add Smart Insight tokens displaying dynamic text to chart footers. From your chart, choose Start of the navigation path (More Actions) Next navigation step  Add Smart InsightsEnd of the navigation path. For more information, see Smart Insights.

Procedure

  1. Select a text box in your story.
  2. From the (More Actions) menu, select Start of the navigation pathAdd Next navigation step  Dynamic TextEnd of the navigation path.
  3. In the Insert Dynamic Text dialog, select the checkbox for the object you want to use as the source for your dynamic text.

    You can scroll through all the options, or select an option from the left side to display specific objects on the right.

    Option Objects

    Story Properties

    • Current User

    • Current Time

    • Current Date

    • Last Modified Date

    • Last Modified Date/Time

    • Last Modifier (last person to modify the story)

    • Creator

    • Page Number

    Dimensions

    For dimensions, you can also specify which hierarchy and level to display, and whether to display the ID or description.

    Input Controls

     

    Calculation Input Controls

     

    Measure Input Controls

     

    Dimension Input Controls

     

    Story Filters

     

    Tile Filters & Variables

    Tile (or widget) filters and variables include the filters and variables that are used in charts and tables.

    Note

    The tile filters and variables will not appear on mobile devices.

    Model Variables

     

    Model Properties (Optimized Story Experience)

    Last Refreshed Date and Time: You can add last refreshed data and time of any SAP BW live data model used in your story.

    Team Signature

    Use the team signature to identify who is authorized to modify the story.
    Note

    When the story is modified by someone who isn't a member of the team, a warning message is displayed instead of the team name through a dynamic text that puts a mark in the story as a trust factor.

    Script Variables (Optimized Story Experience)

    Note

    Only variables of string, number or integer types can be used. Variables set as array aren't supported.

    Note

    In view time, the global variables will change according to the customized scripts, and their values will be automatically updated in the text widget.

  4. Select Create.
  5. Open the Designer and select the Styling panel.
  6. In the Dynamic Text section, change the following options.
    • Show excluded values as strikethrough

    • Number of values displayed

      If you enter the number 5, the first 5 values are displayed in the specified input control, and extra values will be specified in parentheses.

      For example, if the input control has 15 members and you chose to display only 5 members, the text will indicate that there are 10 more members in the input control: “(and 10 more)”.

Results

The dynamic text has been added to the story. The text will be updated based on the values from the source or filter, or from any filters applied to dimensions.