Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Calculate the days

Ronal_bal
8 - Asteroid

Hi Team,

 

I'm trying to calculate the no. of. Days from the current date to date marked in yellow where there is an output for Field E

 

Output= Current date - [date in field[A] until marked in yellow] +0.66

 

Need to sum until the data before yellow.

 

Example below:

 

2022-01-19 to 2022-02-16 is 29 days

 

= 29+0.66 = 29.66 days

 

 

Ronal_bal_0-1674158866474.png

 

9 REPLIES 9
Luke_C
17 - Castor
17 - Castor

Hi @Ronal_bal 

 

Can you attach the data? This can be done with multirow formula tools. 

Ronal_bal
8 - Asteroid

Attached the example data.

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

I think I may have got what you needed?

BS_THE_ANALYST_0-1674160698999.png

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

I think this is another solution without the multi-row formula!

BS_THE_ANALYST_1-1674161002123.png

 

All the best,
BS

LinkedIN

Bulien
Ronal_bal
8 - Asteroid

The solution only works one part i have dates for one value. I need for different parts performing the same for each part. Attached the file with different parts. Can you please provide a way

Ronal_bal
8 - Asteroid
ShankerV
17 - Castor

Hi @Ronal_bal 

 

Can you help me with the logic how it needs to be pop-ed up.

As I see the data's in random, could you please explain in detail.

 

So can help to fix your issue.

ShankerV_0-1674219312822.png

 

 

Many thanks

Shanker V

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Ronal_bal I think I've sorted it to what you want. Please confirm! :-)

BS_THE_ANALYST_0-1674219819097.png

 

All the best,
BS

LinkedIN

Bulien
Christina_H
14 - Magnetar

Your dates are duplicated for Type 3, is that an error?  If so, here's a simplified version that works by counting the rows until there's a value in E then adding that value.

Christina_H_0-1674221155179.png

 

Labels