Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

condition in a variable - when is it evaluated?

Hi,

A document that is supplied to us by a vendor evaluates many chart expressions in something like this manner:

If(Condition1,
   function1($(vVariable1)),
   //(else...)
   function2($(vVariable2))
)

where

vVariable1 = "=if(Condition2,Column1_name,Column2_name)"
vVariable2 = "=if(Condition3,Column3_name,Column4_name)"

What I would like to know is, how many times will Condition2 get evaluated? Once for the whole chart, or once for each row for which Condition1 is true?

Thanks

0 Replies