I have a calendar table that has a column storing Flag to Indicate if a calendar date is a BusinessDay (WorkDay). WorkDay_FL = 0 means the Date is either weekend or Holiday. I want to create a calculated column to add 5 working days to a given Date.
So if Date = 12/30/2020, i.e. 30-Dec-2020 then adding 5 WorkDays should give me 1/7/2020 (7-Jan-2021).
31-Dec-2020 = WeekDay
1-Jan-2021 = Holiday
2-Jan-2021 = Weekend
3-Jan-2021 = Weekend
4-Jan-2021 = WeekDay
5-Jan-2021 = WeekDay
6-Jan-2021 = WeekDay
7-Jan-2021 = WeekDay
Either a DAX formula or Power Query Function will work.
Thanks