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 moreShape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.
Hello all, I'm new using Power BI and there is a few things that are not clear enough.
I'm trying to calculate a DPMO rate however when I introduce my formula the result is completly different that what I expect.
The math of the DPMO es easy, just (Total defects*1000000)/samples taken
so, anyone of you could help me on this?
thanks in advance
Solved! Go to Solution.
@Lu1sT0rr3s yes you can group by anything. here are steps, some of these can be merged but I like it seperate, easy to work/debug with
Add new column for defects
Defect = Defect[Class0] + Defect[Class1] + Defect[Class2] + Defect[Class3]
Add new measures for DPMO calculation
Total Defect = SUM( Defect[Defect] ) Total Sample = SUM( Defect[sample] ) DPMO = DIVIDE( ([Total Defect]*1000000), [Total Sample])
You can group it by any field in your table and it will work.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Lu1sT0rr3s you have to share sample dataset to mkae it work. i don't know what you tried and why it not worked.
Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Look, this is a part of my data set:
Product Line | Line | Qty | sample | Class0 | Class1 | Class2 | Class3 |
AQR Prox RH | LINEA 11 | 1920 | 100 | 0 | 5 | 3 | 1 |
AQR Prox RH | LINEA 11 | 1920 | 100 | 0 | 8 | 1 | 3 |
AQR Prox RH | LINEA 11 | 1920 | 99 | 0 | 2 | 2 | 0 |
AQR Echelon Flex 45 | LINEA 120 | 461 | 20 | 0 | 1 | 2 | 1 |
AQR Echelon Flex 60 | LINEA 96 | 701 | 32 | 0 | 1 | 2 | 1 |
AQR Proximate | LINEA 12 | 13440 | 125 | 0 | 25 | 4 | 29 |
AQR Proximate | LINEA 12 | 13440 | 125 | 0 | 26 | 3 | 8 |
AQR Proximate | LINEA 12 | 14400 | 125 | 0 | 36 | 11 | 25 |
AQR Prox RH | LINEA 11 | 8640 | 80 | 0 | 3 | 1 | 0 |
What I do for this was create a new column to sum all defects and this works for my porpuse:
Then I start to write the formula to calculate the DPMO rate:
so, the result is the following:
The defects and samples are corrects and totally works for me but the DPMO is not working.
@Lu1sT0rr3s does this make sense based on sample data your provided
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k It will be possible group by line? It work for me except that I need by line.
can you please explain me how do you calculate the DPMO because really your formula works.
@Lu1sT0rr3s yes you can group by anything. here are steps, some of these can be merged but I like it seperate, easy to work/debug with
Add new column for defects
Defect = Defect[Class0] + Defect[Class1] + Defect[Class2] + Defect[Class3]
Add new measures for DPMO calculation
Total Defect = SUM( Defect[Defect] ) Total Sample = SUM( Defect[sample] ) DPMO = DIVIDE( ([Total Defect]*1000000), [Total Sample])
You can group it by any field in your table and it will work.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
User | Count |
---|---|
93 | |
93 | |
84 | |
81 | |
49 |
User | Count |
---|---|
145 | |
142 | |
111 | |
71 | |
55 |