Join the Inspire AMA with Joshua Burkhow, March 31-April 4. Ask, share, and connect with the Alteryx community!

Alteryx Designer Desktop Discussions

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

Network Day's Formula

sgaryali
8 - Asteroid

Hi I want to calculate business day
I know how to calculate in excel from networksdays formula i.e NETWORKDAYS(STARTDATE,ENDDATE,Holidays)

But how to calculate in alteryx?

Can anyone help.

I am attaching the sample file as well as holiday file.

 

Thank you in advance.

13 REPLIES 13
OllieClarke
15 - Aurora
15 - Aurora

Hey @sgaryali 

Here's how I would do this:

OllieClarke_0-1642587928195.png

Hope that helps,

 

Ollie

sgaryali
8 - Asteroid

Hi @OllieClarke 

Thank you for the help.
You have share package file can you please share it in .yxmd format

As I am using older version because of alteryx server.

 

And one more thing if i want network days in hours how can that be achieved?

OllieClarke
15 - Aurora
15 - Aurora

Hi @sgaryali here's how you can do hours as well:

OllieClarke_0-1642589473321.png

I've attached the .yxmd

 

Hope that helps,

 

Ollie

 

binuacs
21 - Polaris

@OllieClarke excellent solution!! I think multiplying the network days by 24  will get the network hours

OllieClarke
15 - Aurora
15 - Aurora

@binuacs lol, that's a much better solution

 

OllieClarke_0-1642592321206.gif

 

sgaryali
8 - Asteroid

Hi @OllieClarke ,

 

Thank you for the help.

 

But in excel I am getting different results

 

sgaryali_0-1642592852609.png

 

How is this possible?

Attaching file for reference.

sgaryali
8 - Asteroid

No issue I got this simply multiplying network days  by 8.
Thank you

sgaryali
8 - Asteroid

Hi

 

I want one more logic to be added.
If holiday falls on Saturday then then nominal hours i.e.(network days*8) should be reduced by 8.

Can we do that?

 

atcodedog05
22 - Nova
22 - Nova

Hi @sgaryali 

 

In the above workflow weekends are excluded and not counted. Do you want to do -8 even if Saturday is not considered?

'

Labels
Top Solution Authors