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

Between dates set analysis with variables

what is the right syntax for the following:

sum({<Date= {"<=$(=vYesterday))>=$(=vLastWeek)"}> } Sales)

for some reason it doesn't work..

(vYesterday and vLastWeek are variables)

1 Solution

Accepted Solutions
MayilVahanan

HI

Try like this

sum({<Date= {'<=$(=vYesterday) >=$(=vLastWeek)'}> } Sales)


Did u check both are in same format?

hope it helps.


Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.

View solution in original post

2 Replies
Not applicable
Author

Try this:

sum({<Date= {"<=$(=vYesterday)"}, Date = {">=$(=vLastWeek)"}> } Sales)

MayilVahanan

HI

Try like this

sum({<Date= {'<=$(=vYesterday) >=$(=vLastWeek)'}> } Sales)


Did u check both are in same format?

hope it helps.


Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.