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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Dylanharper
New Member

% Measure Query

Hi All,


I hope everyone is doing well and thanks in advance, with any assistance provided with my query " PS Apologies in advance if this is not the correct section of the forum "


I'm creating a dashboard which shows the performance of waste management services, data includes such elements as recycling rates achieved by month, total waste generated etc, etc.


Most of the charts are easy to create as the fields are related to how I’ve laid out my data. However what I would like to show is the % of a certain waste stream against the total waste generated. for example,

 

Total waste generated, 293,114
General Waste Generated 74,152

 

Therefore, as a percentage of the total waste generated, General waste is 25.30%.


An example of how I've laid out my data is below.

 

Waste Data.JPG

 

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

Hi @Dylanharper 

try a measure like

Measure = DIVIDE(
CALCULATE( SUM('Table'[Waste]), ALLEXCEPT('Table', 'Table'[Type]) ),
CALCULATE( SUM('Table'[Waste]), ALL('Table') )
)

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

2 REPLIES 2
az38
Community Champion
Community Champion

Hi @Dylanharper 

try a measure like

Measure = DIVIDE(
CALCULATE( SUM('Table'[Waste]), ALLEXCEPT('Table', 'Table'[Type]) ),
CALCULATE( SUM('Table'[Waste]), ALL('Table') )
)

 

do not hesitate to give a kudo to useful posts and mark solutions as solution


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Hi Az38,


Thanks for the reply, that worked, after using the mesaure I had to set the filter !!! 😂

 

Cheers 

 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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