Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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.