Forum Discussion
vincentakatoh
9 years agoHelper IV
Production Yield Calculation
Hi, Will like to calculate production roll yield. 1) Below is "Roll yield" calculation using excel for each Line1-Line4 =IF(ISERROR(D3),1,D3)*IF(ISERROR(G3),1,G3)*IF(ISERROR(J3),1,J3)*IF(I...
- 9 years ago
Sure thing.
Please give this a try and let me know how you get on, :)
Phil_Seamark
9 years agoMicrosoft Employee
I created the following calculated table that seems to make the calculation a little easier
Yield Roll Table =
SUMMARIZECOLUMNS(
data[Area],
data[Line],
data[station],
"Count of Pass",COUNTROWS(FILTer('data',[test results]="P")),
"Count of Fail",COUNTROWS(FILTer('data',[test results]="F")),
"Yield",DIVIDE([CountPass],[CountPass]+[CountFail],1)
)and then I added the following measure to the above table
Roll Yeild = PRODUCT([Yield])
I can then use the new table to create this matix
- vincentakatoh9 years agoHelper IV
Hi Phil,
Can you attached the sample data? Thanks, as you can tell, I'm a newbie to Power BI and dummy to DAX. Will like to explore the calculated table in Power BI.
Thanks
- Phil_Seamark9 years agoMicrosoft Employee
Sure thing.
Please give this a try and let me know how you get on, :)
- vincentakatoh9 years agoHelper IV
Hi Phil,
Super. What a clean and easy solution. Love the awesome response in this forum. Power Support, Power BI!