Forum Discussion
ttcalendar
4 years agoFrequent Visitor
Calculating Status based on Two Dynamic Dates
Hi, I would like to create a DAX measure to to define the customer sales status based on their last order date. We have 4 statuses: Active: Last Order Date between Today and Last 12 months ...
ERD
Community Champion
4 years agoHi ttcalendar ,
you can use SWITCH and DATEADD functions.
If this post helps, then please consider Accept it as the solution ✔️to help the other members find it more quickly.