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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
FrankC
Creator
Creator

Nested Variables

I have a variable that performs a ranking.  I want to then use that variable inside a new variable that evaluates the result and then sets a color based on the if condition.  I have tried IF($(vRank) and if($(-vRank), but neither approach works.

IF($(vRank) <=2,Yellow(), White())

IF($(=vRank) <=2,Yellow(), White())

IF(vRank <=2,Yellow(), White())

Any suggestions are appreciated

Labels (1)
2 Replies
Taoufiq_Zarra

can you share a sample data or your qvw file ?

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉