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 All! Apologies for the vague title and length of this post but I'm trying to achieve something quite tricky and not sure how to exactly tackle it.
I am trying to create an estimate for faults that occur based on previous ratios. In the table below, if we assume a factory with two different types of machines, a daily Production figure that is always available, Unscheduled Deferment when something unexpectedly causes production to drop (e.g. a machine gets stuck or breaks down), and Scheduled Deferment (e.g. routine maintenance), and a Theoretical Prod which is the sum of Production+Unscheduled Deferment+Scheduled Deferment.
Date | Unscheduled Deferment | Scheduled Deferment | Theoretical Prod | Production | Machine Type |
31/12/2019 | 24 | 5 | 57 | 28 | A |
31/12/2019 | 12 | 1 | 42 | 29 | B |
01/01/2020 | 23 | 2 | 55 | 30 | A |
01/01/2020 | 12 | 5 | 45 | 28 | B |
02/01/2020 | 1 | 2 | 46 | 43 | B |
02/01/2020 | 23 | 9 | 69 | 37 | A |
03/01/2020 | 12 | 12 | A | ||
03/01/2020 | 40 | 40 | B | ||
04/01/2020 | 23 | 23 | B | ||
04/01/2020 | 11 | 11 | A |
My initial logic is as follows, assuming we've selected a slicer where only Machine Type "A" is selected:
In theory, I would end up with a table similar to the one below which would allow me to visualise on a daily basis the estimates:
Date | Unscheduled | Scheduled | Theoretical Prod | Production | Machine Type |
31/12/2019 | 24 | 5 | 57 | 28 | A |
31/12/2019 | 12 | 1 | 42 | 29 | B |
01/01/2020 | 23 | 2 | 55 | 30 | A |
01/01/2020 | 12 | 5 | 45 | 28 | B |
02/01/2020 | 1 | 2 | 46 | 43 | B |
02/01/2020 | 23 | 9 | 69 | 37 | A |
03/01/2020 | 17.35 | 4.15 | 33.5 | 12 | A |
03/01/2020 | 3.58 | 1.92 | 45.5 | 40 | B |
04/01/2020 | 14.63 | 7.87 | 45.5 | 23 | B |
04/01/2020 | 18.16 | 4.34 | 33.5 | 11 | A |
Any help or pointers in how to achieve this steps would be much appreciated as I am quite lost! I am able to find the last day that contains deferment data but then I am getting confused using calculated columns and measures.
you will want to consider statistical significance. In other words - you don't have enough data points for reliable predictions.
Once you have (many) more data points you can then simplify your formulas and treat both unscheduled and maintenance as regular parts of your data.
Hi @lbendlin, I understand it's not the soundest of methods of generating estimates but it was a method accepted by the business.
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 |
---|---|
114 | |
98 | |
86 | |
70 | |
62 |
User | Count |
---|---|
151 | |
120 | |
103 | |
87 | |
68 |