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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.