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

Identifying last 3 Business Days

Tune
6 - Meteoroid

Good Day everyone is there anyone that can help how I can determine if the current business day is included in the last 3 business days of the month excluding all holidays.

 

I just need a boolean output after the check. Right now im stuck on creating formula regading this scenario

 

TIA

4 REPLIES 4
Qiu
21 - Polaris
21 - Polaris

@Tune 

I would use the DateTimeTrim functio to get the last day of the month of your current business day.

Then generate back more 15 day, filter out the weekends.

0510-Tune.jpg

Tune
6 - Meteoroid

Thank you for your help Qiu one more thing how can I remove a date if it's a holiday and get the next day instead of the holiday.

 

Ex. 

 

May 28 - (Get this date instead of the Holiday)

May 29 - Last 3 Business Day

May 30 - Holiday

May 31 - Last 3 Business Day

 

Result should be 31, 29 and 28 instead of 31, 30, 29

 

Thank you and looking forward to your response

Qiu
21 - Polaris
21 - Polaris

@Tune 
We can have a list containing the holidays the filter them out.

-r10510-Tune.jpg

Tune
6 - Meteoroid

Again Thank you so much

Labels
Top Solution Authors