The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Could you please teach me how to calculate DAX?
When calculating the defect rate,
I want to calculate it as "1-Product of yield rate for each inspection process on that day" instead of "defective number / ProductionQuantity",but I am not getting the expected result.
Specifically, in the attached table visual, I would like the defect rate on March 5th to be
1-0.99792*0.99898= 0.00309 = 0.31%.
Currently used DAX
・1-Product of yield rate =1-[Product of yield rate]
・Product of yield rate = CALCULATE(PRODUCTX('table',[Yield rate]))
・Yield rate= 1-[Defect rate]
・Defect rate =DIVIDE([DefectiveNumber], [ProductionQuantity], 0)
Thank you in advance.
Solved! Go to Solution.
1-Product of yield rate for each inspection process on that day
on that day, regardless of line? You can use REMOVEFILTERS for that.
Hi @31311ko ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Hi @31311ko ,
we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Hi @31311ko ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
1-Product of yield rate for each inspection process on that day
on that day, regardless of line? You can use REMOVEFILTERS for that.
User | Count |
---|---|
26 | |
10 | |
8 | |
6 | |
6 |
User | Count |
---|---|
31 | |
12 | |
10 | |
10 | |
9 |