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

Rolling Date Measure

Anyone have an example of a measure with a rolling date applied to it?  I am struggling to create the correct expression. 

I tried:

SUM(aggr(sum({$<order_type={'sale'}>} and [completed_date.autoCalendar.Date])>=num(today())-60 and floor([completed_date.autoCalendar.Date])<= num(today()),[completed_date.autoCalendar.Date]) distinct quantity), order_product_id))

but there was an error in expression. 

Any help or examples of an expression will be appreciated!  Thanks in advance.

0 Replies