Symptom
Restrict and lookup function is not working as expected for BW Import model in SAC
Environment
SAP Analytics Cloud 2025.8.17
Reproducing the Issue
- Login to SAC
- Go to modeler
- Select 'Calculations' from the 'Workspace' drop down
- Click on '+' icon
- Write one formula using Restrict or Lookup function
Notice: The '!=' formula in both the functions is working as '=' function as per the result.
Cause
This is a product defect
Resolution
A workaround is available: To exclude a specific dimension member in a LOOKUP or RESTRICT function, you can achieve the desired result by explicitly including all other members in the formula. For example, instead of using RESTRICT([Sales], [d/Product] != "member1"), you can use RESTRICT([Sales], [d/Product] = ("member2", "member3", ..., "memberN")), listing all dimension members except the one to be excluded.
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 an 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.com/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!
Keywords
lookup, restrict, calculations, measure, model, story, sac , KBA , LOD-ANA-ML , SAC Modelling , Problem
SAP Knowledge Base Article - Public