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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
tbobolz
Resolver I
Resolver I

Struggling with an % of row total.

Hi, I have been struggling with creating a percentage of row totals that break on year. The total column states that it adds up to 100%, but it actually does not. I have a measure that places payers into 4 category called, "Payer Big 4 Roll-up" I thought I used it correctly in my formula pictured below, but I must not have. I'm learning and think I need to add a year factor to the formula.

 

Thanks for any advice you can offer.

Terry

 

percentage PIB.JPG

1 ACCEPTED SOLUTION
tbobolz
Resolver I
Resolver I

After playing with this for some time, I realized my formula was fine; however, when interacting with filters on the page, they were in conflict with the formula's filters. I removed the filters impacting it, as I could not account for any possible action the end usr may take. 

View solution in original post

4 REPLIES 4
tbobolz
Resolver I
Resolver I

After playing with this for some time, I realized my formula was fine; however, when interacting with filters on the page, they were in conflict with the formula's filters. I removed the filters impacting it, as I could not account for any possible action the end usr may take. 

SamWiseOwl
Super User
Super User

Hi @tbobolz ,

 

If you change the number of decimal places does it add up? I imagine that this is DAX rounding up when showing the two decimal places.
You could force the total to work out each of these seperetly and sum but that could be misleading.

SamWiseOwl_0-1722006776784.png


If you are happy with this answer please mark as a solution for others to find !

Kudos are always appreciated! Check out our free Power BI video courses.

LeandroDeodato
Resolver II
Resolver II

try use round(sum(1)/sum(2),2)

Thanks for the reply. Would you be kind enoung to show me an example on apllying this in the formula?

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors