In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Today plus two business days

cmdaglish
6 - Meteoroid

Hi All, 

 

I was wondering if someone could help me figure out how to add two business days to today's date. 

 

I have figured out the formula on how to add two business days...

 

IF DateTimeFormat(DateTimeAdd([Date],2,"days"),"%a") = "Sat" or DateTimeFormat(DateTimeAdd([Date],2,"days"),"%a") = "Sun" THEN DateTimeAdd([Date],4,"days") ELSE DateTimeAdd([Date],2,"days") ENDIF

 

... but I am struggling with incorporating bank holidays into my flow.

 

I have another input tool which will bring in all future bank holidays.

 

Any help would be appreciated. 

 

Many thanks

3 REPLIES 3
Emil_Kos
17 - Castor
17 - Castor

Hi,

 

I have a solution from this post to create a workflow for you. @danilang  created amazing workflow

 

https://community.alteryx.com/t5/Alteryx-Designer-Discussions/How-to-add-business-days-to-the-date-f...

Qiu
21 - Polaris
21 - Polaris

@Emil_Kos 
Nice one.

I am think to use Macro even.😁

cmdaglish
6 - Meteoroid

I had to amend the last filter to be [DayCount] = [BusinessDays]+1 for what I needed but apart from that it works perfectly. 

 

Thanks a lot!

Labels
Top Solution Authors