Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
nareshthavidishetty
Creator III
Creator III

Rollback days

Hi,

I got an requirement like,I need to rollback to 30 days and need to show the output.

Here there is an task ,actually my end report gives me result like based on first date of the month it gives result,like today is Sep 10 it gives me sales amount from Sep 1st to sep 9th .....but if the date is Sep 1st it gives me only Sep 1st sales.

My requirement is irrespective of month start date it should rollback to 30 days ,like if today's date is Sep 10 and it should back to 30 days ie., to Aug 11 and gives me the sales.

1 Reply
Not applicable

Try like below:

Sum({<Date={"$(=Max(Date)-30)"}>} Sale_Amount)