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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Shailesh2thakur
Frequent Visitor

Extracting Hourly Impact from downtime timestamps of network nodes

I have a network nodes downtime log in the following format. The overall table (e.g. outagelog) is having 3K+ event. The SiteId may repeat. The count of Unique SiteID is 500+.

 

I want to extract an hourly impact( in minutes)  for each of the  siteID individually for each of the 24 hour time window in a new table. For instance, in the new table, XA2 will be have 24 rows for each 00:00 , 01:00, ....06:00, .... till 24:00 hrs window and the outage minutes will be non zero for XA2 i.e. from 00Hrs till 07Hrs . For other rows the minutes will be ZERO.  Pls help and suggest how to create this new table

Site IDOutageStartOutageEnd
XA205-02-2024 00:1005-02-2024 06:41
XB205-02-2024 00:1105-02-2024 06:23
XB305-02-2024 00:1205-02-2024 00:14
YB305-02-2024 00:1205-02-2024 00:15
XA105-02-2024 00:1205-02-2024 00:15
XB205-02-2024 00:1205-02-2024 04:28
XC105-02-2024 00:1205-02-2024 00:15
XA905-02-2024 00:1205-02-2024 00:13
XA105-02-2024 13:1005-02-2024 00:14
XB105-02-2024 13:1005-02-2024 18:41

 

 

The resulting table should be like :

Site IDHour WindowMinute
XA101:0015
XA102:000
XA103:0045
XA104:000
XA105:000
XA106:000
XA107:000
XA108:0032
XA109:000
5 REPLIES 5
lbendlin
Super User
Super User

Please provide sample data that fully covers your issue. Including multiple days.  Please indicate if 05-02 is Feb 5 or May 2.
Please show the expected outcome based on the sample data you provided.

Hi Ibendin !

Thanks for response ..

My Query included two sample tables, First table is the available outage log of the network nodes. While the second table is the required output. 

and the dates inculded are for Current month i.e. Feb 

Please make your sample data more realistic. Include an outage that spans multiple days.

In fact the actual data will span across multiple dates/weeks. Since the hourly downtime timeline will be used to analyze  in energy consumption ( Disel Generator Run Hour, Electricity and Battery Bank run hours) to arrive at root casue for outage and peielfrage, if any. Energy hour line data is already available. So finaly Energy consuption pattern and outage pattern will be plotted on same hourly time winow after using slicer for a DAY. 

Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.