Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
DeRooy-Koen
Regular Visitor

Calculating the total duration of a status per machine

I would like to create a report that provides a clear overview of how much a particular machine has produced. Currently, I only have data that indicates when a certain machine received a status, but not when that status ended.

 

So, I want to know, for each line of data, (in a extra column) how long a particular status has lasted, and if it hasn't ended yet, how long it has been in that status.

 


MachineMachineStatustimestamp
14IDLE27-9-2023 14:56:12
17PRODUCTIVE27-9-2023 14:55:33
17PRODUCTIVE_MIN27-9-2023 14:55:28
14PRODUCTIVE_MIN27-9-2023 14:55:28
9DOWN27-9-2023 14:30:13
14PRODUCTIVE_MIN27-9-2023 14:30:05
14IDLE27-9-2023 14:29:40
14PRODUCTIVE_MIN27-9-2023 14:29:35
17PRODUCTIVE27-9-2023 14:28:50
17PRODUCTIVE_MIN27-9-2023 14:28:45
17IDLE27-9-2023 14:28:45
17PRODUCTIVE_MIN27-9-2023 14:28:42
17IDLE27-9-2023 14:28:42
17PRODUCTIVE_MIN27-9-2023 14:28:37
14IDLE27-9-2023 14:28:25
14PRODUCTIVE27-9-2023 14:28:05
14PRODUCTIVE_MIN27-9-2023 14:28:00
14PRODUCTIVE27-9-2023 14:27:55
14PRODUCTIVE_MIN27-9-2023 14:27:50
14IDLE27-9-2023 14:27:45
14PRODUCTIVE_MIN27-9-2023 14:27:43
8PRODUCTIVE27-9-2023 14:27:10
8IDLE27-9-2023 14:26:25
8PRODUCTIVE27-9-2023 14:25:55
8PRODUCTIVE_MIN27-9-2023 14:25:50
8IDLE27-9-2023 14:25:40
17IDLE27-9-2023 14:25:32
17PRODUCTIVE_MIN27-9-2023 14:25:32
8PRODUCTIVE_MIN27-9-2023 14:25:30
17IDLE27-9-2023 14:22:42
17PRODUCTIVE_MIN27-9-2023 14:22:40
17IDLE27-9-2023 14:22:26
17PRODUCTIVE27-9-2023 14:22:25
17IDLE27-9-2023 14:22:22
14IDLE27-9-2023 14:20:51
14PRODUCTIVE_MIN27-9-2023 14:20:50
8IDLE27-9-2023 14:20:43
8PRODUCTIVE27-9-2023 14:20:37
8IDLE27-9-2023 14:20:35
14PRODUCTIVE27-9-2023 14:20:07
8PRODUCTIVE27-9-2023 14:19:17
8IDLE27-9-2023 14:19:15
8PRODUCTIVE27-9-2023 14:19:15
14IDLE27-9-2023 14:19:14
8IDLE27-9-2023 14:19:13
14PRODUCTIVE27-9-2023 14:18:39
14PRODUCTIVE_MIN27-9-2023 14:18:34
8IDLE27-9-2023 06:44:47
8PRODUCTIVE27-9-2023 06:44:35
1PRODUCTIVE27-9-2023 06:44:00
1IDLE27-9-2023 06:43:57
1IDLE27-9-2023 06:43:57

 

My question to the community is whether I can achieve this with Power BI, and if so, how?

 

Could you please assist me with this?

1 REPLY 1
Anonymous
Not applicable

Hi @DeRooy-Koen ,

Sorry, so far, to my knowledge, this may not be achieveable.

 

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors