Forum Discussion

Mani_1's avatar
Mani_1
Frequent Visitor
3 years ago

Adding working days to a date

Hi,

How can i add 13 working days(i.e only weekdays ) to the date of arrival for the dax below?

Date of del =
IF(
[bar] = "Ex",
IF(
ISBLANK('Table1'[Date - Departure (ETD)].[Date]),
BLANK(),
'Table'[Date - Departure (ETD)].[Date] + 7
),
IF(
[bar] = "Ey",
IF(
ISBLANK('Table1'[Date - Arrival (ETA)].[Date]),
BLANK(),
'001-statistik'[Date - Arrival (ETA)].[Date] + 13
),
IF(
[bar] = "Ez" ,
IF(
ISBLANK('Table1'[Date - Arrival (ETA)].[Date]),
BLANK(),
'Table1'[Date - Arrival (ETA)].[Date] + 16
),
BLANK()
)
)
)

Thanks,

 

 

3 Replies