Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Creator II
Creator II

Conditional Sum comparison in set analysis Qlik sense

Hi,

how to compare two measures in set analysis?

Need to find count(Id) who's sum(A)> Sum(B).

Count({<sum(A)> Sum(B)>}ID) //for each ID need to compare sum(A) with Sum(B)  & need to take count for each day.

 

1 Solution

Accepted Solutions
Highlighted
MVP
MVP

Re: Conditional Sum comparison in set analysis Qlik sense

Try something like:

Count(Distinct {<ID={"=sum(A)> Sum(B)" } >} ID) 

View solution in original post

1 Reply
Highlighted
MVP
MVP

Re: Conditional Sum comparison in set analysis Qlik sense

Try something like:

Count(Distinct {<ID={"=sum(A)> Sum(B)" } >} ID) 

View solution in original post