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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Garbo62
Resolver I
Resolver I

Power BI Matrix column not Summing

Hi

I have a powe BI Matric that is showing in the Column Total an incorrect value

In the screen shot you see there are 5 values of 12.4 so the colum total should be 62, but it shows as 12.4

The row totals are correct

The values is a measure not a set number in a table

Any Ideas why it is  not adding up the totals correctly?

 

The measure is:

Hours max per Course - Week =
MAXX(
    KEEPFILTERS(VALUES('WeeklyBreakdown'[Course - Week])),
    CALCULATE(SUM('CourseDetails'[Hours]))
)

 

Garbo62_0-1685360370723.png

 

3 REPLIES 3
Garbo62
Resolver I
Resolver I

Hi,  tried both options but the total is still not totalling

Why would the total not want so sum the values in the Matrix?

The total at the bottom are correct.

 

Garbo62_1-1686146603150.png

 

Garbo62
Resolver I
Resolver I

Hi Thanks but Sorrry I has cut the code from yhe adjoinmg colum the column in question is

((CourseDetails[UnitTotalHours]/[Week])*[Ratio])
amitchandak
Super User
Super User

@Garbo62 , Use SUMX

 

Hours max per Course - Week =
SUMX(
(VALUES('WeeklyBreakdown'[Course - Week])),
CALCULATE(SUM('CourseDetails'[Hours]))
)

 

or

 

SUMX(
KEEPFILTERS(VALUES('WeeklyBreakdown'[Course - Week])),
CALCULATE(SUM('CourseDetails'[Hours]))
)

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors