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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
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