Symptom
In Query Builder, Calculated Column created using functions ISNULL, LIKE, and NOT which return Boolean type will throw an error as: ‘ Caught exception : exception 1000013: incorrect syntax near \"IS\" ’".
Environment
SAP Analytics Cloud embedded in SAP SuccessFactors
Cause
ISNULL, LIKE, and NOT are special predicates that require a CASE WHEN/IF statement to function correctly.
Currently, the error is thrown from the Database layer failing to handle the return type Boolean in the dynamic calculations.
Resolution
In order to use ISNULL, NOT, and LIKE, users need to wrap these predicates within an IF() function.
We will provide better experience with validation checks to avoid runtime error messages in upcoming releases.
Example:
Not working: ISNULL(AGENCY_ID)
Working: IF(ISNULL(AGENCY_ID), 1, 0)
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- 2728183 - SAP Analytics Cloud (SAC) releases and release information
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud.
- 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 incident for SAP Analytics Cloud?
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.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
SAP Analytics Cloud, SAC, sapanalyticscloud, kba, note, help, knowledge, embedded, analytics, ISNULL, NOT, LIKE, INA Calls, MDS , KBA , LOD-ANA-OEM , Embedded usage of SAP Analytics Cloud , LOD-SF-ANA-SAC , Stories in People Analytics , Known Error