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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis between to dates

Hi

Can somebody help me her?

sum({$ <Date={$(=<only(Date)-1>only(Date)-60)}>} Sales)

I am trying to get sum of sales between selected date-60 and selected date-1



3 Replies
mike_garcia
Specialist
Specialist

Hello,

You can try:

sum({$<Date = {">=$(=only(Date)-60)<=$(=only(Date)-1)"}>} Sales)


Regards,

Mike.

Miguel García
Qlik Expert, Author and Trainer
spsrk_84
Creator III
Creator III

can u give some example for the scenario what u said

so that it will be easy to give the solution

Not applicable
Author

Hi Marius,

I hope you will find some helpful information.

Good luck!

Rainer