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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
nikitabansal93
New Member

Percentage in stacked bar graph

Hello,

 

I am new to power bi, I am trying to achieve a view which gives me % of disk space used by an application. What I want is below graph to represent 100% and ligh blue to show how much of 100% of disk is used. exampe first one is 65%

nikitabansal93_0-1691576701866.png

this is a sample of what my data look like

categorydiskspace usedtotal spacespace free
a14012080
a2305020
b150100

50

 

I want my view to be across category as you can see one category can have multiple lines so when I do sum(space used)/sum(total space) what is does is calculate percentage per row and sum it up whereas the case should be summing up the measures first and then calculating the percentage

1 REPLY 1
foodd
Super User
Super User

Please provide your work-in-progress Power BI Desktop file (with sensitive information removed) that covers your issue or question completely in a usable format (not as a screenshot).

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...

Please show the expected outcome based on the sample data you provided.

https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...

This allows members of the Forum to assess the state of the model, report layer, relationships, and any DAX applied.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.