Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Date Cal

BRRLL99
11 - Bolide

Hi Team,

 

I have following Dataset

logic for expected output is

IF FILE DATE = DATES then it is Today

file date + 1 (except sun , sat, holidays) = dates then today +1 

as shown in the example 4/26 and 4/30 is considered as today +1 , since 29th is holiday it should consider next working day

 

same logic for T-1 and T-2 also

 

 

File DateDates
4/26/20244/26/2024
4/26/20244/26/2024
4/26/20244/30/2024
4/26/20244/30/2024
4/26/20244/25/2024
4/26/20244/25/2024
4/26/20244/23/2024
4/26/20244/23/2024
4/26/20244/26/2024

 

 

Expected Output:

File DateDatesSummary
4/26/20244/26/2024Today
4/26/20244/26/2024Today
4/26/20244/30/2024Today + 1
4/26/20244/30/2024Today + 1
4/26/20244/25/2024Today - 1
4/26/20244/25/2024Today - 1
4/26/20244/23/2024Today - 2
4/26/20244/23/2024Today - 2
4/26/20244/26/2024Today

 

Holidays
4/29/2024
4/24/2024
1 REPLY 1
ed_hayter
13 - Pulsar

Might be a better way but I went with splitting the flow and generating rows for the missing days then remove holidays and weekends. Consolidate into a single row counting the days and then use the count of days to get the summary column

 

image.png

Labels
Top Solution Authors