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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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

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
Solution Sage
Solution Sage

share your Dax please



Muhammad Hasnain

#LetsConnect https://www.linkedin.com/in/hasnain2587/
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.