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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Werick_V
Regular Visitor

Calculating service downtime based in incident total time excluding non operational hours

Hi

 

I am trying to find a way to calculate the total time a incident is affecting the availability of a service, but i aly want to cound the times the service is open during oerational hours.

 

there are different sites each with it own operational hours for weekdays, saturddyas and sundays.

 

Werick_V_0-1639307252597.png

 

Manually the results should look like this

 

Werick_V_1-1639307354801.png

 

 

I would apprciate some assitance.

 

Regards

 

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Werick_V ,

 

please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data to help us clarify your scenario.

 

Best Regards,
Eyelyn Qin

Thingsclump
Resolver V
Resolver V

Hi @Werick_V 

 

At a high level, you can create table with list of all sites (Table A). Create one more table as a calender table which will have list of dates, day name, weekday or not etc. (Table B). Next is create a table with operational hours only. (Table C). Last table would be incidents table with downtime (Table D). Create relationship between Table A, C and D using site name. Table B, C, D should be related by date column. So create a relationship for it. 

 

The required view of operational hours-downtime can be calculated by a measure which you can use in any chart or visual.

 

Thanks

Thingsclump

 www.thingsclump.com 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors