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
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
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.