Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Everyone,
I am completely new to Power Pivot and DAX calculations. I have a simple data model with a date table and a fact table with dates and sales generated per date.
Each month, I am generating a report that shows MTD and YTD sales vs Last year for the same period.
Is there a DAX formula to show this.
Thanks! I tried them works fine.
I also used TotalMTD/TotalYTD and it works perfectly also.
what's the difference between them? Which one using less resources and size?
hi @Tarek78
TOTALMTD is simplified form of CALCULATE([], DATESMTD). The later provides more flexibility when we have fiscal years starting not on Jan 1st.
Thanks !!! I will try this next time and keep you posted.
hi @Tarek78
you would need some measures with Time Intelligence Functions, like
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 9 | |
| 8 | |
| 7 |