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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Avivek
Post Partisan
Post Partisan

The total in matrix is not correct

The total in the matrix is not showing the correct value, however when exported in excel it shows the correct value.

 

image.png

So in the image you can see the value against the person is shown as 5275 but the total shows 6575. Any idea why is this so?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @rveerasamy ,

Please try to create a new measure as below, then drag the new created measure onto Matrix to replace the measure Sales Amount:

Measure =
SUMX (
    VALUES ( 'SALES'[PARENT ACC NAME] ),
    SUMX ( VALUES ( 'SALES'[FULL NAME] ), [Sales Amount ] )
)

If the above method is not working, please provide some sample data which is from the applied fields on Matrix and the table structures in your data model if the matrix involves multiple tables data. Thank you.

Best Regards

Rena

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @Avivek ,

Whether the field "Sales Amount" is from the returned values of a measure? You can refer the contents in following links to update the formula of your measure to get a correct total value.

Power BI: Totals Incorrect

Wrong Grand Totals in Power BI

In addition, you can also provide some sample data which is from the applied fields on Matrix and the formula of measure "Sales Amount", later we will help you correct it. Thank you.

Best Regards

Rena

amitchandak
Super User
Super User

@Avivek , can you share the formula.

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

Sales Amount = IF(SELECTEDVALUE('REPORTING CURRENCY'[REPORTING CURRENCY],"Base")="Base",sum(SALES[BASE AMOUNT]),sum(SALES[ORIGINAL AMOUNT]))
Anonymous
Not applicable

Hi @rveerasamy ,

Please try to create a new measure as below, then drag the new created measure onto Matrix to replace the measure Sales Amount:

Measure =
SUMX (
    VALUES ( 'SALES'[PARENT ACC NAME] ),
    SUMX ( VALUES ( 'SALES'[FULL NAME] ), [Sales Amount ] )
)

If the above method is not working, please provide some sample data which is from the applied fields on Matrix and the table structures in your data model if the matrix involves multiple tables data. Thank you.

Best Regards

Rena

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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