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
nitinbalodi
Helper I
Helper I

DAX SLA Calculation - Multiple Countries, different weekends and holidays

Hello experts, I have a complex scenario here, I need to calculate SLA using DAX for tickets related to different countries. I have 3 data tables- tickets data, weekly off, and Holidays. I can create/modify DATE dimension as required to acheive this. 

 

I need to calculate "Business hours to close" considering all countries have working hours from 09:00 AM to 05:30 PM. Please refer to below screenshot for sample data.

 

DAX SLA SampleDAX SLA Sample

 

If required, I can change the strcuture of Weekend table by moving DayName1 and DayName2 columns to rows instead of columns.

I am able to do in Excel with the help of NETWORKDAYS.INTL and other formulaes.

Any help/ suggestions would be appreciated. Thanks in advance!

0 REPLIES 0

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.

Top Solution Authors