In this lesson, we'll explore performance topics related to advanced formulas, however, we will not cover how to create advanced formula data action steps or how the scripts are processed.
Create Advanced Formula Data Action Steps
There are two main ways to create an advanced formula step in a data action. The visual editor allows business users with no expertise in programming to design formulas by dragging and dropping rather than directly writing scripts, however there are limitations and the script editor is used to define and design complicated business scenarios.
Topics related to creating, configuring, and running advanced formula data actions are covered in the following lessons in the Leveraging Advanced Features in SAP Analytics Cloud for Planning course:
- Using the Visual Editor to Create an Advanced Formula Data Action
- Using the Script Editor to Create an Advanced Formula Data Action
Advanced Formulas Reference Guide
Advanced formula steps in data actions give you a lot more flexibility to run calculations on planning model data. The calculation results are stored in the base cells of the model, which means that you can run calculations and copy data across different sets of filters.
The syntax and semantics of advanced formula steps in SAP Analytics Cloud data actions can be found in the Advanced Formulas Reference Guide.
Understand General Rules for Advanced Formula Calculations for Planning
It's important that you are familiar with the general behaviors of advanced formulas and how the calculations are processed.
Four key things to understand:
- Advanced formulas are created as a data action step. Data action steps are executed sequentially. The next data action step is calculated based on the result of the previous one.
- In advanced formulas, each line of instruction inherits the calculation results of previous lines of instructions.
- Advanced formulas performs all calculations only with leaf-level members that don’t have any account formulas defined. Any other members that have child members are not supported.
- In a RESULTLOOKUP function, values of different data slices returned by RESULTLOOKUP are not aggregated (unless you explicitly define them in an AGGREGATE_DIMENSION function).
The SAP Help Portal article, Understand General Rules for Advanced Formula Calculations for Planning is a reference for explanations and examples for the general rules listed above as well as information on topics such as calculation scope and calculation rules.








