You might be wondering why you would want to add scripting and the advantages it can offer?
Most modern analytics tools avoid scripting to simplify the designer’s tasks. While this allows more people to use the system, many users have more complex business requirements and want to move beyond the limitations of the scenarios built into the tools.
Adding scripting to a story in SAP Analytics Cloud will allow you to move beyond present narratives, to respond to user interaction in a custom way, to present result sets in a different way, and to dynamically alter a layout. Scripting allows for more creativity and the ability to respond to more multifaceted business requirements.
Examples of Scripting in SAP Analytics Cloud Stories
The examples below are just an indication of the possibilities available with scripting in SAP Analytics Cloud. For example, using scripting in a story in SAP Analytics Cloud will allow you to design a story that:
Uses a dropdown to display dynamic values.

Shows the top 3 results as an image.

Calculates values using R language.

Displays a different layout that is dependent on the device used to access the story.
