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!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Mapping/Aggregating US and CAN holidays to Weeks

wonka1234
10 - Fireball

Hi,

 

How can I map these values to weeks?  My weeks seem to be every monday of the year.. but what if a holiday is on a friday? Ie Good Friday.. How can I include this in my mapping?

 

 

Thanks

 

3 REPLIES 3
FrederikE
13 - Pulsar

Hey @wonka1234,

 

You could use the Generate Rows tool to include all dates and then do it. 

FrederikE_0-1684511189059.pngFrederikE_1-1684511190732.png

 

See the attached wf.

 

 

wonka1234
10 - Fireball

@FrederikE  thank you. is there a way to get it back to the weeks? lol

FrederikE
13 - Pulsar

Hey @wonka1234,

 

You can use:

 

DateTimeFormat([Dates],"%w")

 

To get the number of the weekday (Monday =1). And then filter on it again.

FrederikE_0-1684514253657.png

 

But ofcourse then you loose the individual daily information again - not sure what you want to have there. 

Labels
Top Solution Authors