Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jamiecc
Frequent Visitor

Average Column not calculating correctly in Matrix Row Totals

I have a matrix that needs to calculate an Average Premium. Basically $x / y = $avg x.

In my report I have:

 

jamiecc_0-1686231668127.png

 

I'm expecting to see Avg of 

1531.24

700.19

1505.89

 

The dataset does have some NULLs when it's expanded for some rows so I am thnking this might be messing it up? Basically my avg calc looks like this:

AvgPremiumAct = (Query1[PremiumAct])/(Query1[CountAct]) and I have the summarization set to Average.

 

How do I get this to show correctly?

Thanks for all suggestions.

1 REPLY 1
lbendlin
Super User
Super User

Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.