Forum Discussion
vbaker
Helper I
8 years agoMonth to Date -X
I have a formula get Month to Date, but I want to create a measure that allows me to do MTD -X. Essentially, I need to have a card that will display the MTD for January, another card for MTD for February, etc.
Here is my formula for MTD:
MTD Amount = CALCULATE(SUM('Table'[Amount]), FILTER('Table',DAY('Table'[Date])<=DAY(TODAY()+1)))
22 Replies
- vbaker
Helper I
While this solution would work. I need it to be a rolling update, as this is live data that will update on a regular basis. I am trying to avoid having to go in and change the filter each and every month. Essentially, I want to set it and let it run on a continual basis.