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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Why does sum in table visual = 100%

Hello  -   The % of Total column at the far right is actually giving the correct numbers.    For example, for the first row of that row's context there were 146 shipments....out of a total shipment count of 328.    146 is indeed 44.51% of 328.  

 

My question, is why does the total at the bottom of the % of Total show  100% ?  

 

And why did the totals at the bottom equal close...but not exactly....100%  ? 

 

texmexdragon_0-1603832285216.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

@SteveCampbell   I think I found it. 

 

I had created a manual group that grouped the number of days late an order was.   Turns out, Order  HS-1007080, had three lines to it.   And one of those lines shipped later than the other two.    So while the distinct total count was correct, it kept adding up to +1 more whenever I add the additional context of the grouping.   (same thing happens in my original table I posted about).   

 

In other words, one of the orders is appearing two times  (once in each of the groupings below).   

 

Thanks for your help...that got me on the right path!  

 

texmexdragon_1-1603844847346.png

 

 

 

 

 

View solution in original post

5 REPLIES 5
NamishB
Post Prodigy
Post Prodigy

Hi @Anonymous - looking at the image it looks to me there is some issue with your formula

If you see closely none of the totals are right.

 

Are you using Dax to sum total? whats the formula you using. 

For Eg: if you sum total the first Column this is not the right total it displaying. It should be 182 instead of 138

 

Once you correct this, your % will change and hence your total should match. 

 

Hope this helps you find the right issue. 

 

Cheers,

-Namish B

Anonymous
Not applicable

@NamishB    Hi Namish   -  Could the reason be because the calculation is looking at Distinct Counts?

 

 

Total Number of Shipments = CALCULATE(DISTINCTCOUNT('Flu Shipped by Order Date'[Order]),FILTER('Flu Shipped by Order Date','Flu Shipped by Order Date'[Date Shipped]))

The fact the totals at the bottom add to 329 but your total column says 328 implies to me that there is the same Flu Shipped by Order Date'[Order] appearing in multiple columns and this column may not be unique



Did I answer your question? Mark my post as a solution! Proud to be a Super User!


Connect with me!
Stay up to date on  
Read my blogs on  



Anonymous
Not applicable

@SteveCampbell   I think I found it. 

 

I had created a manual group that grouped the number of days late an order was.   Turns out, Order  HS-1007080, had three lines to it.   And one of those lines shipped later than the other two.    So while the distinct total count was correct, it kept adding up to +1 more whenever I add the additional context of the grouping.   (same thing happens in my original table I posted about).   

 

In other words, one of the orders is appearing two times  (once in each of the groupings below).   

 

Thanks for your help...that got me on the right path!  

 

texmexdragon_1-1603844847346.png

 

 

 

 

 

lkalawski
Memorable Member
Memorable Member

Hi @Anonymous 

This is the fault of the roundness.

Could you please provide a file or measure code that calculate % ? To make sure, we can check that the function is well written.



_______________
If I helped, please accept the solution and give kudos! 😀

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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