Symptom
- When using nested calculations in the modeler, then unexpected results will be displayed in the Story level.
Environment
- SAP Analytics Cloud (Enterprise) 2022.15.15
Reproducing the Issue
- Add Nested calculation at model level under calculation management (model used is Universal Account model) using RESTRICT function
Example: Formula1: RESTRICT([TST_QUANTITY] ,[d/Date]=Previous("Month", 1))
Formula2: IF([d/Date].[p/MONTHDESC]="Jan" ,[TST_QUANTITY] ,[TST_QUANTITY]-[ Formula1] ) - Save the model.
- Create story using model with calculation added in Step1.
- Insert Table widget, and add any account members with data.
- Create Restricted Measure calculation for Measure.
- Select Measure (model calculation created in Step1 - Formula2) from the dropdown in Restricted Measure dialog.
- Use Date dimension and restrict on any Month.
- Click OK.
- Observe that the data displayed in the story calculation is not as expected.
Cause
-
This is a by design behaviour.
-
Model level restrictions( with YearToDate and with PrevMonth ) are currently always applied BEFORE Restricted Measure.
Resolution
- Open an improvement request on our customer's influence page.
- For more information about the procedure on submitting an improvement request, please follow the guiedline here: How do you create an enhancement request and provide feedback for SAP Analytics Cloud?
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
sac, model, calculation, nested, restricted, calculated, measure, RESTRICT, IF, formula , KBA , LOD-ANA-DES-CAL , SAC Story Calculations , Problem
Product
SAP Analytics Cloud 1.0