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
Anonymous
Not applicable

Getting incorrect totals on matrix table

 

I have used the following dax measure:

DEFINE
    VAR VPointsMS = 20
    VAR VMScore =
        SUMMARIZE (
            FactCallData,
            "VScore",
                COUNTROWS (
                    FILTER (
                        FactTable,
                        FactTable[Details.score]
                            || FactTable[Captured.score]
                            || FactTable[RecordDetails.score]
                            || FactTable[Record.score] > 0
                    )
                ) / [Total VMS]
        )
    VAR VMNormal = ( [VMScore] * [VPointsMS] ) / 100

EVALUATE
{ VMNormal }

 

I am getting the following results as totals which is incorrect it is supposed to be 19.32%, may someone kindly advise, what I am doing wrong?

Screenshot 2023-01-23 182203.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

You can create another new measure as below and put this new measure to replace the original measure onto the matrix visual. Later check if it can return the correct total values...

New Measure = SUMX ( VALUES ( FactCallData[Matrix rows field] ), [orignal measure] )

 

In addition, you can refer the following links to try to solve your problem...

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

If the above one can't help you, could you please provide some raw data in your table 'FactCallData' (exclude sensitive data) with Text format, your matrix Fields settings and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Anonymous ,

You can create another new measure as below and put this new measure to replace the original measure onto the matrix visual. Later check if it can return the correct total values...

New Measure = SUMX ( VALUES ( FactCallData[Matrix rows field] ), [orignal measure] )

 

In addition, you can refer the following links to try to solve your problem...

Why Your Total Is Incorrect In Power BI - The Key DAX Concept To Understand

Dax for Power BI: Fixing Incorrect Measure Totals

If the above one can't help you, could you please provide some raw data in your table 'FactCallData' (exclude sensitive data) with Text format, your matrix Fields settings and your expected result with backend logic and special examples? It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

How to Get Your Question Answered Quickly

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

amitchandak
Super User
Super User

@Anonymous , Try like

 

DEFINE
VAR VPointsMS = 20
VAR VMScore =
SUMMARIZE (
FactCallData,
"VScore",
COUNTROWS (
FILTER (
FactTable,
FactTable[Details.score] >0
|| FactTable[Captured.score] >0
|| FactTable[RecordDetails.score] >0
|| FactTable[Record.score] > 0
)
) / [Total VMS]
)
VAR VMNormal = ( [VMScore] * [VPointsMS] ) / 100

EVALUATE
{ VMNormal }

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
Anonymous
Not applicable

No Success

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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