cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GJ217
Resolver I
Resolver I

Networkdays without Holidays

Hi,

 

I have the following DAX for Networkdays and the issue is that my calculation in Excel doesn't have Holidays and DAX forces the use of Holidays.

 

 

 

WorkingDaysMeasure = 
VAR AbStartDate = SELECTEDVALUE(SicknessAbsence[AbsenceStartDate])
VAR abEndDate = SELECTEDVALUE(SicknessAbsence[AbsenceEndDate])
RETURN
NETWORKDAYS(AbStartDate,abEndDate,1,'Bank Holidays')

 

Is there another way to calculate Netwrok Days in DAX  but without Holidays?

1 ACCEPTED SOLUTION
GJ217
Resolver I
Resolver I

I took off the 'Bank Holidays' and it worked.

View solution in original post

1 REPLY 1
GJ217
Resolver I
Resolver I

I took off the 'Bank Holidays' and it worked.

Helpful resources

Announcements
Winner of T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Find out who won the T-Shirt Design Challenge and the top 3 finalists.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.