In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to calculate business days for a given month & year.

Saravanan13
8 - Asteroid

I would like get the total number of business days for respective month & year in a separate column. Can anyone assist on this

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

Hey @Saravanan13,

Do you just want the number of weekdays? Do you want to take into account public holidays?

Saravanan13
8 - Asteroid

Yes weekdays along with public holidays.

IraWatt
17 - Castor
17 - Castor

@Saravanan13 bit of a roundabout way doing this in Alteryx but you can convert your text dates to a date data type then generate a row for each day of the month and filter off the Saturday and Sunday:

IraWatt_0-1668622295836.png

 

 

Saravanan13
8 - Asteroid

Thank you so much. it worked

Labels
Top Solution Authors