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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Sara16
Helper III
Helper III

Help! Need help with rounding in stacked bar charts

Hi Power BI Team

 

Just reaching out for some guidance or assistance on rounding in a stacked bar char

 

I have built measures for the bar chart (same for neutral/ yellow and negative/ red) DAX Below

Positive =
CALCULATE(
    COUNTA('Demographic Data Transposed'[Value]),
    'Demographic Data Transposed'[Value] IN { "Strongly agree","Agree" }
)
 
Most of my bars = 100% but as you can see from below, there are some that do not add up (highlighted) 
 
Sara16_0-1671675276793.png

 

Is there any way I can fix the rounding or even change the rounding from 2 percent (currently) to 1 percent. I tried to change in Measure Tools or via the Data view but nothing seems to work 😞 

 

Thanks in advance 

5 REPLIES 5
Sara16
Helper III
Helper III

the percentages are based off a measure - the measure table makes no difference so hoping there might be some dax code to assist

 

 

Sara16_0-1672696241102.png

 

Sara16
Helper III
Helper III

Hi @amitchandak 

 

Unfortunately none of these worked - is there any other workaorund to get the stacked to = 100%

 

amitchandak
Super User
Super User

@Sara16 , After you fix from measure tool , remove and add measure again to stacked visual and try

or at visual level check format

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

Hello

Stil unfortunately doesnt fix the issue of rounding to 100% - some bars equate to 101% where as others are at 99%. Is there any kind of workaorund for this? 

 

Thankyou

Thankyou for the quick response. Unfortunately didnt work. Changed to 1 decimal, removed and re added back to the visual and nothing (likewise for visual itself) - is there another work around? 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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