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
tranje
Frequent Visitor

Subtotal is not correct (sum up ) in matrix

Hi 

 

Somehow the matrix (column) is not sum up correctly, it shows the average value or something. 

 

tranje_0-1647423399749.png

Thank you in advanced for your help.

 

Best regards,

Jenny

7 REPLIES 7
tranje
Frequent Visitor

Hi

 

The described problem could not be solved.

 

https://community.powerbi.com/t5/Desktop/Subtotal-is-not-correct-sum-up-in-matrix/m-p/2397491#M86023...

 

The matrix cannot sum up correctly for "total weekly"

 

tranje_0-1647938220732.png

 

 

No DAX used. Just the simply funtion from PowerBI  (count distinct)

 

tranje_1-1647938256320.png

 

The question is why it does not sum up. 
I have a feeling that it counts distinct instead of summing up.

 

If it is doing so....how can I make it summing up?


Best regards,

Jenny

v-henryk-mstf
Community Support
Community Support

Hi @tranje ,

 

Does it display properly after the change? Also what is the value shown for total weekly? What is the corresponding measure formula for it?

 

Looking forward to your feedback.


Best Regards,
Henry

As you can see in the picture (The "Total weekly" is not sum up correctly).

Actually, I did not use any DAX, I used the count distinct. What I did change is the formatting. 

All the configuration for formatting you can see in the answer I gave to the others. 

 

 

amitchandak
Super User
Super User

@tranje , Please share the measure. It may be because of row context

 

refer video from Curbal

https://www.youtube.com/watch?v=ufHOOLdi_jk

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

The total number of tests is based on powerbi distinct count

 

tranje_0-1647424169696.png

What I changed:
Subtotal is showing on the top and it has a band row style

tranje_1-1647424237126.png

 

 

mh2587
Super User
Super User

share your Dax please


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



tranje
Frequent Visitor

The total number of tests is based on powerbi distinct count

 

tranje_0-1647424169696.png

What I changed:
Subtotal is showing on the top and it has a band row style

tranje_1-1647424237126.png

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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