Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a challenge with this case:
There is a technical installation which produces products on order. Only one order at the time. Each order has a unique ID. It starts with the starts order activity and ends with the end order activity. Within some orders there are disruptions who will delay the throughput time. A delay has a start interruption and an end interruption activity. Each start-end interruption (combination) has also a unique Interruption ID. Normally it would be easy to calculate the gross, net and total throughput time and total interruption time per order. But some interruptions have one or more overlaps. How can I calculate with DAX the total interruption time defined as the exact time the production order is delayed? Even if there are one or more (partly) overlaps within a certain overlap.
Hereby an example of a table with 4 variations:
Hope there is a solution for the total delay time calculation.
Thanks in advance.
Solved! Go to Solution.
@RvdC ,
Hey thanks for pointing that out.
i had missed checking a gap in between interupption time.
Hope this works.
@RvdC ,
Thanks, There is a gap of 10 mins in between. I did not notice that.
Hope this works.
Calculated Columns
Measure
Hi @RvdC ,
You can try this solution.
Let me know if this works for you.
Create Calculated Column
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!!
Hi Harsh,
Thanks for your solution! I have tested it, got the same results. It works almost perfect. The net dealy time for Case D is 75 minutes in stead of 85 minutes. The delay time is the 5 minutes from start I4 tot end I4 + the start from I5 untill the end of I7 (70 minutes). Makes a total of 75 minutes. The script adds somewhere 10 minutes to it. Do you have a solution for that?
Maybe I am overlooking something.
Thanks already for your support.
Regards,
Rob van de Coevering
@RvdC ,
Hey thanks for pointing that out.
i had missed checking a gap in between interupption time.
Hope this works.
@RvdC ,
Thanks, There is a gap of 10 mins in between. I did not notice that.
Hope this works.
Calculated Columns
Measure
Thanks a lot for your help! All works fine for me.
Best,
Rob
User | Count |
---|---|
53 | |
28 | |
19 | |
18 | |
14 |
User | Count |
---|---|
92 | |
86 | |
39 | |
23 | |
22 |