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

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.

Reply
bingbadabom
Helper I
Helper I

Get a percent of active time

I have data that consist of a timestamp (datetime) and a value.

These values come in with about 2-3 minutes a part. Sometimes there's gap in the data. These gaps are often hours long.

If you see the following chart:

bingbadabom_0-1679918168474.png

I would like to group the clusters of data as "active" and the empty space as "inactive" to be able to calculate some sort of uptime.

bingbadabom_1-1679918272083.png

Any tips for how i can accomplish this?

2 REPLIES 2
Arul
Super User
Super User

@bingbadabom ,

Would you able to add some sample data?

Thanks,

Arul





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


LinkedIn


Sure, it looks something like this (unneeded columns removed).

 

weight  time        date

20,0520:35:4623.03.2023
18,6520:37:5723.03.2023
21,720:40:0923.03.2023
21,320:42:2323.03.2023
18,917:45:1023.03.2023
18,2517:46:4923.03.2023
18,117:48:4023.03.2023
15,2517:49:0723.03.2023
18,5521:01:4723.03.2023
14,421:04:0423.03.2023



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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