Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello all forum gurus!
Very new to Power BI and I need your help! I have a formula in Excel that calculates the Overall Performance OEE for a machine using the weighted average of the column Standard Rate. I need to have the DAX code to be able to do the same thing for a report I am writing for supervisors. The excel formula is as follows: =((SUM(D:D)/(SUM(G:G))/(SUMPRODUCT(D:D,F:F)/SUM(D:D)))) The spreadsheet is below (hopefully) for reference. Thanks in advance for the help!!!
Solved! Go to Solution.
@Anonymous,
I think it its looking for * sign try if doesn't work check the link out:
WA OEEPerf = ((SUM('BusinessView Ignition_RunData'[Quantity_Actual])/(SUM('BusinessView Ignition_RunData'[RunTime])))
/(SUMX('BusinessView Ignition_RunData','BusinessView Ignition_RunData'[Quality_Actua]*'BusinessView Ignition_RunData'[StandardRate])/(SUM(UrTableName[Quality_Actual])))
Regards
Abduvali
Hi @Anonymous,
It's almost the same but instead of the actual range you have to provide the Table and the Column names there is a similar post with a solution provided check it out:
Hope this helps if not let me know.
Regards
Abduvali
Abduvali - First, Thanks so much for your quick reply!!!
Trying your formula and I am getting the squiggly red lines under the second portion after the / symbol Highlighted in red.
WA OEEPerf = ((SUM('BusinessView Ignition_RunData'[Quantity_Actual])/(SUM('BusinessView Ignition_RunData'[RunTime])))
/(SUMX('BusinessView Ignition_RunData','BusinessView Ignition_RunData'[Quality_Actua]),'BusinessView Ignition_RunData'[StandardRate])/(SUM(UrTableName[Quality_Actual])))
Any wisdom to share there?
@Anonymous,
I think it its looking for * sign try if doesn't work check the link out:
WA OEEPerf = ((SUM('BusinessView Ignition_RunData'[Quantity_Actual])/(SUM('BusinessView Ignition_RunData'[RunTime])))
/(SUMX('BusinessView Ignition_RunData','BusinessView Ignition_RunData'[Quality_Actua]*'BusinessView Ignition_RunData'[StandardRate])/(SUM(UrTableName[Quality_Actual])))
Regards
Abduvali
Abduvali - Thanks so much for the answer! Got what I needed off the link and your answer combined! Or at least that is what I got to work. See below!
WA OEEPerf = ((SUM('BusinessView Ignition_RunData'[Quantity_Actual])/(SUM('BusinessView Ignition_RunData'[RunTime])))
/(SUMX('BusinessView Ignition_RunData',[Quantity_Actual]*[StandardRate]/(SUM([Quantity_Actual])))))
Thanks again!
@Anonymous
You are welcome =D
I fixed the last Urtablename as well - still have squiggly lines....
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
83 | |
65 | |
49 |
User | Count |
---|---|
127 | |
108 | |
88 | |
70 | |
66 |