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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
rsdhavle
Creator III
Creator III

Comparing with parameters

I have following scenario:

A is my dimension and has values like S1, S2, S3, S4..

B is expression calculating Sum(Revenue)

C is my threshold parameter which contains values  For A dimension lets Say for S1 - Threshold value is 25, for S2 is 50 and S3 - 75 and so on..

I need to display values in B only if value of B is greater than value of C..how can i implement this?

11 Replies
Not applicable

Write calculated dimension like this

IF((aggr(Sum(revenue),Product)>aggr(sum(threshold),Product)),Product,null())

enable suppress check box,

add the respective expression you would be able to see the result

its_anandrjs
Champion III
Champion III

Write like below in expression and change according to your expression

Sum( if(Aggr(sum(Exp1),[Client(Dimension)]) > Aggr(sum(Threshold),[Client(Dimension)]), Exp1) )