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
Anonymous
Not applicable

Power Bi Measures

Hello, my name is Bennet and I could really use some help from the community.

I have production data in kilograms, as well as associated scrap data also in kilograms. I can easily display this in a bar chart and then select the individual day with a different visual.

Now to the problem: I would now like to display the percentage of rejects in my total production quantity (since the start of recording) per day. As a previous solution, I have the following measure: AverageRejectTotal = CALCULATE(AVERAGE(Production[Rejects]), ALL(Production)); My table is called "Production" here.

However, it now calculates an average value for the individual values for rejects per day. However, I would like to have the share of the sum of rejects in the total production volume. Does anyone have a solution here?

I thank you once again for any help. Kind regards Bennet

2 REPLIES 2
Anonymous
Not applicable

Hello, many thanks for the answer.

As an example, I have the scrap quantities 68 kg, 202 kg, 40 kg and 22 kg for May 1st, 2023. These result from different production lines. This includes a total production volume of 4,000 kg, for example. I would now like to display the added sum of one day's rejects of the total production volume (since the data was recorded).

Once again many thanks.

Casperserven1
Helper I
Helper I

Hi Bennet - much easier if you attach some sample data redacted in what ever way you choose and maybe a snapshot of the visual you have.

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.