Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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.