This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
I want to have a MTD calculation and a MTD average thru the month.
I can get a MTD with TOTALMTD function, but I have no clue on how to divide this MTD on the day of the month to get the average. I am struggling with this, help please.
Simple dataset below to show the needs.
Thanks
-A-
@Peavey , I case you need average of sum of daily
MTD = CALCULATE(AverageX(values('Date'[Date]), calculate(SUM(Table[Qunatity Produced])) ),DATESMTD('Date'[Date]))
@amitchandak Yes, average sum of MTD on the current day.
I tried your formula but did not get an average, just the same MTD value, see picuture:
Thanks
Noone?
Hi @Peavey ,
Maybe you can try this expression:
AvgMTD =
CALCULATE(AVERAGE('Table'[Quantity Produced]),all(),DATESMTD('Table'[Date]))
Result:
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 26 | |
| 24 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 50 | |
| 31 | |
| 26 | |
| 22 |