Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hai my dear professionals, in real time projects or real time working , which dax function we can use to calculate cummulative/running total of Month, DatesMTD or TotalMTD
Please repl me
TIA
Solved! Go to Solution.
@sudhav , both do the same Job.
datesmtd can be used with calculate.
totalmtd can be used without calculate, you have option to give on filter condition. More than that you need to use calculate
I usually use datesmtd
refer for more
https://www.reddit.com/r/PowerBI/comments/rr8l0u/totalmtd_vs_calculate_datesmtd_in_dax/
@sudhav , You need to create date table
For monthly cumulative
MTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESMTD('Date'[Date]))
Quarterly cumulative
QTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESQTD(('Date'[Date])))
yearly
YTD Sales = CALCULATE(SUM(Sales[Sales Amount]),DATESYTD('Date'[Date],"12/31"))
Overall
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected('Date'),'Date'[date] <=max('Date'[date])))
ya sir i know the formulae, but i am asking that which dax function we can use, total mtd or datesmtd
could you please tell me
@sudhav , both do the same Job.
datesmtd can be used with calculate.
totalmtd can be used without calculate, you have option to give on filter condition. More than that you need to use calculate
I usually use datesmtd
refer for more
https://www.reddit.com/r/PowerBI/comments/rr8l0u/totalmtd_vs_calculate_datesmtd_in_dax/
wow, really great video , thankyou so much sir
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
85 | |
66 | |
51 | |
45 |
User | Count |
---|---|
216 | |
89 | |
82 | |
66 | |
57 |