Forum Discussion
DATEADD Function
- 6 years ago
Hi Anonymous ,
You may create measure like DAX below.
Measure= CALCULATE(<claim ID / Placements measure or coulmn>,FILTER(ALLSELECTED(Sales),Sales[Date]<=DATE(YEAR(TODAY()), MONTH(TODAY())-2, DAY(TODAY()))))Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, are you using a date or calendar table for your dates (i.e a single table with continuous dates)? If not then you will need to remodel. here is an example of a date table created using DAX; https://www.sqlbi.com/tools/dax-date-template/
here is a more basic version : https://www.sqlbi.com/articles/creating-a-simple-date-table-in-dax/
Alberto and Marco have lots of good tutorials on this.
- Anonymous6 years agoNot applicable
Hi Danno. Thanks for the reply. I am using a date table. So basically it is a table with records showing the placements achieved on a specific date.