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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
I have a table like following. **Note I put an empty column in tables so can read Value....without empty column the numbers were hard to read.
| Company | Month | Value | |
| 1 | 1/1/2025 | 5 | |
| 1 | 2/1/2025 | 40 | |
| 1 | 2/1/2025 | 50 | |
| 5 | 2/1/2025 | 10 | |
| 5 | 2/1/2025 | 20 | |
| 5 | 2/1/2025 | 30 | |
| 5 | 3/1/2025 | 0 | |
| 5 | 3/1/2025 | 10 |
For scoring I want to average the Value by Company and month
| Company | Month | Value | |
| 1 | 1/1/2025 | 5 | |
| 1 | 2/1/2025 | 45 | |
| 5 | 2/1/2025 | 20 | |
| 5 | 3/1/2025 | 5 |
Then I want to average by Company the above table. So when shown in visual with Company only, it should be like below
| Company | Value | |
| 1 | 25 | |
| 5 | 12.5 |
Then At Total level it should be average of above: 18.75.
I have tried using Summarize/addcolumns/AverageX and no luck. What I have now is following which works except at Total level:
Solved! Go to Solution.
You can use the following measure in a matrix:
Average Measure=
AVERAGEX(
VALUES('Table'[Company]),
AVERAGEX(
VALUES('Table'[Month]),
CALCULATE(AVERAGE('Table'[Value]))
)
)
This is the result I get:
Do not hesitate to ask if you need more support
You are welcome. This simple additional measures will get your desired result
Measure 2 = AVERAGEX(VALUES(Data[Company]),[Measure])
Thank you for input. Cookistador's solution was the exact one I was looking for. I think yours might've been averaging in a different order because the Totals came out as 13.33, but I was looking for 18.75.
You are welcome. This simple additional measures will get your desired result
Measure 2 = AVERAGEX(VALUES(Data[Company]),[Measure])
You can use the following measure in a matrix:
Average Measure=
AVERAGEX(
VALUES('Table'[Company]),
AVERAGEX(
VALUES('Table'[Month]),
CALCULATE(AVERAGE('Table'[Value]))
)
)
This is the result I get:
Do not hesitate to ask if you need more support
Thank you, this worked perfect! Now I am going to try on more complicated Measure rather than value!
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 55 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 123 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |