Forum Discussion
SimonSeez
5 years agoHelper III
DatesAdd Function with Custom Date - Help Needed
Hello, I am using this custom date table and I need to perform some MTD, QTD and YTD calculations. I am using DatesADD function and it just does not seem to work. The result always gives the sum of...
mahoneypat
5 years agoMicrosoft Employee
Are you using an approach like these?
Calculating MTD, QTD, YTD, Running and Cumulative Total in Power BI (mssqltips.com)
Please share your DAX for a specific suggestion.
Regards,
Pat
- SimonSeez5 years agoHelper III
Hello Pat,
I am using this
Calculate([Total Revenue], DateAdd('Date Table' [Date], -1, Quarter))
Rather than give me total for the last quarter, it gives a total for the whole of the previous year