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: 
Not applicable

set analysis and variable

once i think i have this under the belt, i just don't.

i want to use set analysis to based on variable.

the variable is today's date called vdate.

i want sum of sales where salesdate = vdate.

help please?

Lambert Badenhorst.

Labels (1)
6 Replies
SunilChauhan
Champion II
Champion II

use below

sum({<salesdate ={"$(vdate)"}>}sales)

Sunil Chauhan
Not applicable
Author

Hi Lambert,

try sum({<salesdate={$(#vdate)}>} sales) or sum({<salesdate={$(#=date(today()))}>} sales)

C u,

Stefano

Not applicable
Author

thank you!

Not applicable
Author

thank you!

Not applicable
Author

thank you!

jcampbell
Partner - Creator
Partner - Creator

This worked perfectly for an expression I was working on. Thanks!