Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello.
I have a matrix table with Orders per Customer by month below:
I want to be able to show the average instead of the total in the colum total but not in the row total. Not sure whether this is possible. Below is the desired result which is Orders per Customer divided by Month(today()):
Please help. Link to WIP file here: Link
Thanks!
Solved! Go to Solution.
Create a new measure like this
New measure=
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your threadconsider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Hi, your MONTH(TODAY()) returns the current month number and It assumes that the number of months in your matrix equals the current month. What if there are filtered months?
I would use,
Orders per Customer AVG =
VAR MonthCount =
CALCULATE(
DISTINCTCOUNT('Calendar'[Year Month]),
REMOVEFILTERS('Customer Table'[New or Existing])
)
RETURN
DIVIDE([Orders per Customer], MonthCount)and
OrdersPerCustomer_Adj =
IF(
ISINSCOPE('Calendar'[Year Month]),
[Orders per Customer],
[Orders per Customer AVG]
)Your 'Orders per Customer AVG' as below:
and Orders Per Customer:
@etane You want to show average in column total not in row total.. Like below ?
Attached is the pbix file for your reference.
Regards,
sanalytics
Hi @sanalytics .
Very close. I am hoping the entire Column Total shows average instead of sum (including the .35 as below):
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your threadconsider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
@FBergamaschi This should work if the user is not considering replacing the Month Count part.
Hi, your MONTH(TODAY()) returns the current month number and It assumes that the number of months in your matrix equals the current month. What if there are filtered months?
I would use,
Orders per Customer AVG =
VAR MonthCount =
CALCULATE(
DISTINCTCOUNT('Calendar'[Year Month]),
REMOVEFILTERS('Customer Table'[New or Existing])
)
RETURN
DIVIDE([Orders per Customer], MonthCount)and
OrdersPerCustomer_Adj =
IF(
ISINSCOPE('Calendar'[Year Month]),
[Orders per Customer],
[Orders per Customer AVG]
)Your 'Orders per Customer AVG' as below:
and Orders Per Customer:
Thanks! This works.
Create a new measure like this
New measure=
If this helped, please consider giving kudos and mark as a solution
@me in replies or I'll lose your threadconsider voting this Power BI idea
Francesco Bergamaschi
MBA, M.Eng, M.Econ, Professor of BI
Thanks, in this case please mark it as a solution, I think you marked a different post and not mine (maybe your reply to my answer). Not referring to other solutions you accepted (it is OK to accept more than 1), just to the post you marked as a solution
Thanks
Yup I clicked the wrong post. Thanks again for your help.
Hi @etane i guess there is no built-in setting to override column totals to show an average while keeping row totals as a sum.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 6 | |
| 5 |