Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 214 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations 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 Lead
I tried both versions
1
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