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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
joydevdawn
Partner - Contributor
Partner - Contributor

$ & = sign before variable

I have defined 2 below variables:

vTYMTDSales = Sum({<NUMDate = {43466}>}[Sales Qty])

vLYMTDSales = Sum({<NUMDate = {43101}>}[Sales Qty])

And create another variable called “vCompare”. 

Is both expression, taken calculated value or recalculate the above variable. 

vCompare =   $(=If($(vTYMTDSales) - $(vLYMTDSales) > 0,0,1))

 vCompare =   =If($(vTYMTDSales) - $(vLYMTDSales) > 0,0,1)

2 Replies
arvind_patil
Partner - Specialist III
Partner - Specialist III

Hi,
Please refer below link it helps you:

https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/dollar-sig...

Thanks & Regards,
Arvind Patil
pradosh_thakur
Master II
Master II