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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

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
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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