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.
Hi I need help with a formula below:
This is what i want
Total KG/h Actual | Total KG/h Standard | Production Efficiency % | |
Line 1 | 240 | 250 | 96% |
Line 2 | 273 | 300 | 91% |
Line 3 | 116 | 120 | 97% |
Line 4 | 42 | 50 | 84% |
How can i create a formula that would result in the Production Efficiency % column? When i Sum the Actual it remains according to line, but when i sum the standard i get 720 as all the standard rather than as it is on the table.
Solved! Go to Solution.
Hi SiviMani,
I fixed the problem by enabling relationships as both direction relationship.
Hi @akwang,
Create a calculated column with Divide function.
Production Efficiency % = DIVIDE(Table1[Total KG/h Actual],Table1[Total KG/h Standard],0)
Then Change the Format to Percentage which under modeling tab
regards,
Siva
Hi Ihave the data in two separate tables. One with the actual prod and the other with the Standard for Line 1,2,3.
How would i calculate that?
Sorry, I thought you have the values in the same table
Create a relationship between the tables based on the Line.
Then create a calculated measure,
Production Efficiency % = DIVIDE(SUM(Table1[Total KG/h Actual]),SUM(Table2[Total KG/h Standard]),0)
Hi This is what i get on the table visual and my reference table is below:
The STD is not sepatating by line causing incorrect %efficiency
What was the procedure you followed to get that output?
the same formula you told me to use.
How did you calculate Line Prod and Total line Prod?
Where it comes from?
could please share some sample data? pbix file would be great
Hi SiviMani,
I fixed the problem by enabling relationships as both direction relationship.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |