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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
k3rz0rg
Advocate III
Advocate III

Column totals are not correct!

Hi everyone, 

I'm having this weird issue and desparately looking for a solution for this.
I have 3 measures which are Count, Average and Count * Average , the total of Average and Count * Average are not giving me the correct total as shown below : 

k3rz0rg_1-1691382317996.png

As you can see the total for the Average and the Count * Average are not the expected total I need.
I tried SUMX(Table, (Count * Average)) technique but no avail. 
Any calculation that will give me $3,434,682 for the Average and $6,363,700 for the for the Count * Average column would be great help! 

Thanks!

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

you need creat 2 measures

1)  m1 = Count * Average

2) m2 = SUMX( VALUES('Table'[ID]), [m1])

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

you need creat 2 measures

1)  m1 = Count * Average

2) m2 = SUMX( VALUES('Table'[ID]), [m1])

Spot on! This seems to be working in my case. I tried using SUMX without the VALUES() function and just the table/column name which didn't work but this did.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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