We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

COB date + Holiday Date

AshishAgarwal
7 - Meteor

Hi Team,

 

I want to get dates for COB  + Holiday dates.

 

I can provide input file with list of Holiday dates.

 

So I want Alteryx to identify COB date and if any previous Holiday date.

 

For example:

Holiday date is

19th Aug 2025

18th Aug 2025

10th Aug 2025

 

 

If COB 20th Aug

Then I should get 3 dates 

20th Aug 2025

19th Aug 2025

18th Aug 2025

 

If COB is 21st Aug

Then I should get 3 dates 

21st Aug 2025

 

I dont want to use Python in Alteryx.

 

Hence is it possible to derive such behavior using different tools?

 

Regards,

Ashish

 

3 REPLIES 3
Gaurav_Dhama_
12 - Quasar

can you explain the case of 21st Aug, shouldn't you get 21 and 19th Aug as two dates as 19 was a holiday and it is within 3 days?

ScottLewis
11 - Bolide

Attached solves the problem, there are likely more elegant solutions.

 

Solution takes a COB data as input, generates the 30 days prior, checks which of them are holidays, flags all holidays and the COB as include and then produces the list of includes until the first exclude by way of multi-row formula.

AshishAgarwal
7 - Meteor

Hi Lewis,

 

Thank you so much. I am now getting desired result.

 

However I missed to inform that I need to skip weekends and hence I just input one tool to exclude weekends.

Labels
Top Solution Authors