Alteryx Designer Desktop Discussions

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

How to find the last WORK day of the month?

skong
6 - Meteoroid

Hi All,

How could I write a formula that return the last work day of an input month?

Thanks in advance!

Simon

 

For example,

July 31st, 2021 is a Saturday --> return July 30th,2021

June 30th, 2021 is a Wednesday --> return June 30th, 2021

February 28th, 2021 is a Sunday --> return February 26th, 2021 

 

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @skong 

 

Here is how you can do it.

Workflow:

atcodedog05_0-1628240356221.png

 

Hope this helps : )

 

skong
6 - Meteoroid

Wow!  Thanks for the quick response and the neat solution!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @skong 

 

If my response helps please don't forget to mark it as solution.

Cheers and have a nice day!

Labels