Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
pratham39
Partner - Contributor III
Partner - Contributor III

Set Analysis

Hi,

I have below table

and I want to show in KPI - count of those ID whose status is only 3 (Basically i don't want to count those ID Where status in 3 and 0)

so final count in KPI should be 3 (the green ones i.e. ID-2,4,5) 

doubt1.png

 

Please help me to write set expression in KPI

Thanks

#Setanalysis

1 Solution

Accepted Solutions
agigliotti
MVP
MVP

Hi @pratham39 ,

Maybe this:

count( {< ID = {"=Count(Status)=1"}, Status = {'3'} >} Distinct ID )

I hope it can help.

Best Regards

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it

View solution in original post

2 Replies
agigliotti
MVP
MVP

Hi @pratham39 ,

Maybe this:

count( {< ID = {"=Count(Status)=1"}, Status = {'3'} >} Distinct ID )

I hope it can help.

Best Regards

The Power of shining a light on the dark side of your data.
Follow me on my LinkedIn | Know Gamma Informatica at gammainformatica.it
pratham39
Partner - Contributor III
Partner - Contributor III
Author

Thanks 

it worked!