Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Calculating total in dimension

I am attempting to use this calculation in my dimension but it is not working:

if(sum(total <PROD_DT, REL_CD> VALUE) > 10000000, REL_CD))

What I m trying to do is calculate a sum of 'VALUE' for each 'REL_CD' on a given 'PROD_DT' and only display that 'REL_CD' in the dimension if it's sum is greater than 10 million. Does anyone know why this is not working and if there is a way to successfully accomplish what I need?

Thank you

1 Solution

Accepted Solutions
sunny_talwar

Try this:

=If(Aggr(Sum(TOTAL <PROD_DT, REL_CD> VALUE), REL_CD) > 10000000, REL_CD))

View solution in original post

1 Reply
sunny_talwar

Try this:

=If(Aggr(Sum(TOTAL <PROD_DT, REL_CD> VALUE), REL_CD) > 10000000, REL_CD))