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.

Data Manipulation

Ekmi9
8 - Asteroid

Hello Everyone,

 

Happy new year to everyone!

 

I need one help on below mention data manipulation 

Input:

 

Ekmi9_0-1672747796899.png

Output:

 

Ekmi9_1-1672747821429.png

 

 

11 REPLIES 11
ShankerV
17 - Castor

Hi @Ekmi9 

 

Happy new year!!!

 

1. Use the filter tool 

2. Then with the help of multi row formula we can derive the solution

 

 

Felipe_Ribeir0
16 - Nebula

Hi @Ekmi9 

 

One way of doing this

 

Felipe_Ribeir0_0-1672749063000.png

 

ShankerV
17 - Castor

Hi @Ekmi9 

 

Please find the expected output.

 

ShankerV_0-1672749416294.png

 

ShankerV_0-1672749601068.png

 

 

Felipe_Ribeir0
16 - Nebula

@Ekmi9 

 

Just the Id = 5 i couldnt understand, why the amount was distributed 7/3?

 

Felipe_Ribeir0_0-1672749708364.png

 

Ekmi9
8 - Asteroid

hello Thank you for you response but this not the excepted output 

 

Output:

Ekmi9_0-1672754447945.png

 

Felipe_Ribeir0
16 - Nebula

@Ekmi9 yes, could you explain what is the logic behind 10 being distributed as 7 for id2 = 1 and 3 for id2 = 4?

Ekmi9
8 - Asteroid

my use case is like that only 

 

 

ShankerV
17 - Castor

Hi @Ekmi9 

 

Please check if it works for you. I have tweaked the workflow to get the expected result.

ShankerV_0-1672755116398.png

 

Felipe_Ribeir0
16 - Nebula

@Ekmi9 without knowing the logic behind this distribution it is impossible to do it dynamically. You can fix this 7/3 value there, but it will lead to errors with new datasets.

Labels