Hi Guys,
Im trying to calculating the number of working days in each week/month. I currently got a date dimension with the usual fields however not working days.
I was looking to use the following syntax to pull working days from the table:
Select *, case when Day_Desc in ('Mon','Tue','Wed','Thu','Fri') then 1 else 0 end As WorkingDays
From (Select * from Calendar)t1
Great However, i quickly relised that this gives me my bank holidays to. Can anyone help
Im trying to calculating the number of working days in each week/month. I currently got a date dimension with the usual fields however not working days.
I was looking to use the following syntax to pull working days from the table:
Select *, case when Day_Desc in ('Mon','Tue','Wed','Thu','Fri') then 1 else 0 end As WorkingDays
From (Select * from Calendar)t1
Great However, i quickly relised that this gives me my bank holidays to. Can anyone help