Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 34 Oracle Analytics and AI Sharing Center
- 22 Oracle Analytics and AI Lounge
- 276 Oracle Analytics and AI News
- 47 Oracle Analytics and AI Videos
- 16.1K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 99 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
What's wrong with this Key Metric?
Stefano_Mazzocca
Rank 6 - Analytics & AI Lead
Best Answer
-
I believe Key metrics expressions must be measures.
Your current formula is resulting in a row-level calculation, not an aggregated value.
To fix it, you might need to wrap the formula in aggregation function like SUM().
Try:
SUM(CASE WHEN CAST(PER_ASG_PERCENTUALE_INCARICO_ AS INT) > 0 THEN 1 ELSE 0 END)
0
Answers
-
The formula should be:
CASE WHEN condition THEN expression ELSE expression END
0 -
Hi @Benjamin Arnulf-Oracle , unfortunately it seems not :(
0



