Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I am needing to know if it is possible to calculate the average of the total run rate based on the month number.
If you see below i am needing the last column divided by month. In Februrary it would be 47,345,465/2.
Invoice Amount running total in Month =
CALCULATE(
SUM('Invoices'[Invoice Amount]),
FILTER(
CALCULATETABLE(
SUMMARIZE(
'Invoices',
'Invoices'[Approved by Date].[MonthNo],
'Invoices'[Approved by Date].[Month]
),
ALLSELECTED('Invoices')
),
ISONORAFTER(
'Invoices'[Approved by Date].[MonthNo], MAX('Invoices'[Approved by Date].[MonthNo]), DESC,
'Invoices'[Approved by Date].[Month], MAX('Invoices'[Approved by Date].[Month]), DESC
)
)
)
Solved! Go to Solution.
Here is the Dax that I wrote to get the cummulative monthly average per year.
Cummulative Avg = DIVIDE(Invoices[Invoice Amount running total in Month],CALCULATE(AVERAGE(Invoices[Approved by Date].[MonthNo])))
Here is the Dax that I wrote to get the cummulative monthly average per year.
Cummulative Avg = DIVIDE(Invoices[Invoice Amount running total in Month],CALCULATE(AVERAGE(Invoices[Approved by Date].[MonthNo])))
@Anonymous ,
Cumm Sum = CALCULATE(SUM('Invoices'[Invoice Amount]),filter(allselected(date),date[date] <=max(date[Date])))
or
Cumm Avg = CALCULATE(SUM('Invoices'[Invoice Amount]),filter(allselected(date),date[date] <=max(date[Date])))/CALCULATE(distinctcount(Date[Month-Year]),filter(allselected(date),date[date] <=max(date[date])), not(isblank('Invoices'[Invoices Amount]))))
or
Cumm Avg=
var _1 = averagex(values('Date'[Month]) , calculate(SUM('Invoices'[Invoice Amount])))
return
CALCULATE(_1,filter(allselected(date),date[date] <=max(date[Date])))
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 42 | |
| 20 | |
| 18 |
| User | Count |
|---|---|
| 169 | |
| 109 | |
| 91 | |
| 55 | |
| 44 |