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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
venkatasuresh_g
Helper III
Helper III

Measure wrong total in Matrix Visual

Hi 

I Ran in to issue with totals in Matrix visual when I hide values in Target row as per user request  when we don't have values in Actuals , I looked up many posts and tried all but it was not working for my scenario , unless I am missing something so I crated a sample pbix with data and visual so that someone can shed some light and help me with it. 

 

PBIX is exported here 

https://app.box.com/s/2cswfueqhzut8flbll0zp7y45o9o5yqc

 

Can you please help me fix this issue. 

 

Thanks 

Suresh 

2 ACCEPTED SOLUTIONS

Gotcha

 

check this out, here is the solution

 

https://community.powerbi.com/t5/Desktop/visual-total-not-matching-sum-of-individual-row/m-p/1183586...

 

Hope this will help

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

View solution in original post

Hi @venkatasuresh_g ,

You can create another measure based on the measure "Target_Mes" to get total value and put the new measure on the visual to replace the original measure "Target_Mes":

NTarget_Mes = SUMX(VALUES(D_Date[MonthYear]),[Target_Mes])

incorrect total value.JPG

Best Regards

Rena

 

 

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

7 REPLIES 7
aj1973
Community Champion
Community Champion

Hi @venkatasuresh_g 

 

Can you please better explain your issue! 

I have your sample and in my understanding your are running issue with the dates as your Target and Actual have different days but you are using in your visual only one date from the dimetable. The reason I am saying this is because your Target_mes is using 2 different Tables through their respective dates abd in your visual you are using dates from your Dimdate therfore there is an ambiguity. try to use the date from the target and you will get to see the data from Mars.

 

Thanks 

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Hi,

 

  If you see the target Row in bottom Matrix table total is 81 as opposed to 47 , I displayed all the rest of the months in year as user wants to see full year always but user wants to see data only when Actual is available 

 

Hope this is clear now 

 

Thanks 

yes it is clear and i just edited my previous reply.

 

let me know if it is clear for you!

 

Thanks

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Hi Aj,

 

Thanks for your time. 

 

  Even when I use month year from Target table I am not getting the results as expected , Total for Target row is still 81 , I was expecting 47 as I am showing only JAN and FEB month data . When I use Month from Target table it is showing Taregt for MAR as well in the table , which I don't want as I don't have actuals for MAR. 

 

My problem with is just with total column rest all good. 

 

Thanks

Suresh 

Hi @venkatasuresh_g ,

You can create another measure based on the measure "Target_Mes" to get total value and put the new measure on the visual to replace the original measure "Target_Mes":

NTarget_Mes = SUMX(VALUES(D_Date[MonthYear]),[Target_Mes])

incorrect total value.JPG

Best Regards

Rena

 

 

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks Aj and Rena 

 

  I created measure using solution from other thread Aj suggested . Thank you both 

 

Suresh

Gotcha

 

check this out, here is the solution

 

https://community.powerbi.com/t5/Desktop/visual-total-not-matching-sum-of-individual-row/m-p/1183586...

 

Hope this will help

Regards
Amine Jerbi

If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.