Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
What would be the best option to calculate tool down time between the earliest D=down and earliest U=Up time for each instance?
DownTime is the result that I'm trying to work it out. In Tool column, I have multiple tool IDs. My end goal is to find out average each tool down time for weekly, monthly, and quarterly.
Thank you for helping!
Tool | DateTime | Availability | DownTime |
AAA | 8/20/2022 23:08 | D | |
AAA | 8/20/2022 22:08 | D | |
AAA | 8/20/2022 18:45 | U | 1:33 |
AAA | 8/20/2022 17:12 | D | |
AAA | 8/20/2022 14:08 | U | 18:57 |
AAA | 8/19/2022 19:11 | D | |
AAA | 8/18/2022 21:06 | U | |
AAA | 8/18/2022 20:15 | U | 2:00 |
AAA | 8/18/2022 19:18 | D | |
AAA | 8/18/2022 18:15 | D |
Regards,
Eddie
Solved! Go to Solution.
you can try this
Proud to be a Super User!
Hi @EZiamslow ,
Based on the description, after getting data, selecting transform before Loading.
Selecting custom column and adding a year column.
Date.Year([Date]))
Selecting custom column, add a month column.
Date.Month([Date])
Then, selecting the desired year, reducing the number of data.
Closing and applying.
Then, using the DAX formula provided above.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @EZiamslow ,
Based on the description, after getting data, selecting transform before Loading.
Selecting custom column and adding a year column.
Date.Year([Date]))
Selecting custom column, add a month column.
Date.Month([Date])
Then, selecting the desired year, reducing the number of data.
Closing and applying.
Then, using the DAX formula provided above.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous
which DAX formula are you referring to?
Hi @EZiamslow ,
Reducing the number of rows through the power query editor before loading the data. Then, using the @ryan_mayu provide Dax formula. It should help.
Best Regards,
Wisdom Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
you can try this
Proud to be a Super User!
I have 600k rows and it crashed my Desktop app. Is there other options to make it work?
so far I don't have another better solution for this. Let's see if anyone else can help on this.
Proud to be a Super User!