Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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