ruthhacche
Board Regular
- Joined
- Sep 22, 2017
- Messages
- 84
I have a table ([orders]) .
I have a parameter ([months]} that takes the number of months ago eg 12
I want a measure that calculates transactions dated before today - 12 months.
something like Sales before selected date = CALCULATE( [sales], FILTER (orders,orders[date]<= ????))
where ???? is today() less [months] - do I use DATEADD somehow?
Any help gratefully received.
I have a parameter ([months]} that takes the number of months ago eg 12
I want a measure that calculates transactions dated before today - 12 months.
something like Sales before selected date = CALCULATE( [sales], FILTER (orders,orders[date]<= ????))
where ???? is today() less [months] - do I use DATEADD somehow?
Any help gratefully received.