Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago

Power BI Measure

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

No Replies