Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Date to Weekend mapping

RaghavanR
8 - Asteroid

Hi,

 

I have a requirement that I have values by date (including weekends like sat & sun). I want to summarise the total for the week on Friday.

 

In the below sample week. Data up until 31/12/2020 has to be added up and for that week, weekending has to be shown as 31/12/2020 as 01st Jan 21 is a holiday.

 

For the next week, data from 01/01/21 until next friday has to be added and shown against 07th Jan 2021.

 

I have yearly Bank holiday list.  

 

Can some one please guide me how can i do this in alteryx?

 

                    Input

28-Dec-20Mon10
29-Dec-20Tue20
30-Dec-20Wed30
31-Dec-20Thu40
01-Jan-21Fri50
02-Jan-21Sat60
03-Jan-21Sun70
04-Jan-21Mon10
05-Jan-21Tue20
06-Jan-21Wed30
07-Jan-21Thu40
08-Jan-21Fri50

Output

31-Dec-20100
07-Jan-21330

 

2 REPLIES 2
messi007
15 - Aurora
15 - Aurora

@RaghavanR,

 

please see below:

messi007_0-1614277061435.png

 

Attached the workflow,

 

Hope this helps,

Regards

RaghavanR
8 - Asteroid

Thanks @messi007 for your quick help. Sorry I couldn't check it as I was  out of office for few days. Your solution worked for me. Thanks a lot again

Labels