Alteryx Designer Desktop Discussions

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

Calculate aging from received date till yesterday without weekend.

ArijitRoy
Asteroide

Hello Friends,

 

I need your help. As per the attached file, there are received date of all the tasks. As per excel I have used Networkdays formula to calculate the aging. For an example: Received date is 1st June 22 (06/01/22) and yesterdays date is (06/07/22) then we have to calculate the aging between them without Saturday & Sunday.

 

How to do this in Alteryx?

11 RESPUESTAS 11
IraWatt
17 - Castor
17 - Castor

Hey @ArijitRoy,

Heres on way of doing this:

IraWatt_0-1654695182980.png

Any questions or issues please ask :)
HTH!
Ira

 

ArijitRoy
Asteroide

Thanks @IraWatt,

 

It is working perfectly. Thank you very much for your support. 😁 

IraWatt
17 - Castor
17 - Castor

No worries @ArijitRoy ! Glad it worked for you 😄

ArijitRoy
Asteroide

Hi @IraWatt,

 

Need your help on the same issue. The file I have shared there are 3 columns. Kindly delete the last column and help me with the solution. Query is the same. I have attached a new file.

IraWatt
17 - Castor
17 - Castor

Hey @ArijitRoy,

Pretty similar problem:

IraWatt_0-1654790155691.png

 

ArijitRoy
Asteroide

Hi @IraWatt,

 

On the excel there are 339 records and output is showing 338.

IraWatt
17 - Castor
17 - Castor

Sorry good spot @ArijitRoy,

The issue was that zero days have passed for record 1:

IraWatt_0-1654792196193.png

I've updated the workflow to fix that.

ArijitRoy
Asteroide

Hi @IraWatt,

 

Thanks for your help but found another problem. If you check in the input file for the date 4th June,22 (06/04/22), it is the received date but 4th is Saturday hence in the output you will not find the date.

IraWatt
17 - Castor
17 - Castor

Hey @ArijitRoy,

I've changed the workflow: 

IraWatt_0-1654805888805.png

It now always includes the start date even if its on a Saturday. 

Any questions or issues please ask :)
HTH!
Ira 

 

Etiquetas