Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
sban
Contributor III
Contributor III

Counting the Value Inserted Through a Measure in a Column of Table Object

Dear All,

I have a Column in my Table Object which is a Calculated Value through a Measure containing an if expression.

The expression is of the format below: if(aggr(count(....)), 'X','Y')

I want to display a KPI which tells me how many X and how many Y are present in my table object, based on the selections. 

How can this be achieved in the KPI?

Thanks and Regards.

1 Solution

Accepted Solutions
MayilVahanan

Hi @sban 

Try like below

X values: Sum(if(aggr(count(....)), 1,0)

For Y values, change the condition in If statement, then do the same .

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
MayilVahanan

Hi @sban 

Try like below

X values: Sum(if(aggr(count(....)), 1,0)

For Y values, change the condition in If statement, then do the same .

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
sban
Contributor III
Contributor III
Author

Thank you Mayil. This is working perfectly.