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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.