Alteryx Designer Desktop Discussions

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

Need help with dividing the week wise amount in to multiple resource

moinshaik
7 - Meteor

Need help with dividing the week wise amount in to multiple resource dividing by 40 for the first week and dividing by 45 for the other weeks. Please see the below input and the expected output. In the case the week amount is less than 60 then it should be divided in to 2.

 

Input:

NameWeek 1Week 2Week 3Week 4Week 5
A316422499711766
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
A     
B50608090100
B     
B     
..etc     

 

 

Desired Output

 

NameWeek 1Week 2Week 3Week 4Week 5
A315.9421.9499.4711.4765.7
A4045454545
A4045454545
A4045454545
A4045454545
A3645454545
A4045454545
A4045454545
A4017454545
A 45454545
A 45454545
A  494545
A   4545
A   4545
A   4545
A   4545
A   3645
A    45
B50608090100
B2530404040
B2530404040
B   1020
1 REPLY 1
KarolinaRoza
11 - Bolide

Hi @moinshaik ,

 

I prepared workflow for you which I hope will be useful. It is not completed by I hope it will be useful and you will be able to continue with it.

It still require some manual intervention but I do not have idea how to make it more efficient. Maybe any of Community Member will be able to advice.. ?

 

So, in the workflow I prepared logic for rows generation for each week (week1 has slightly diff logic, week 2-3 are the same), you would need to copy the container and adjust column names for next weeks (it is marked in red containers it the workflow).

 

Let me know if it is helpful and if you need assistance with continuing with your problem.

 

 

BTW are you sure about the split for 2nd week.. 

 

Regards,

Karolina

KarolinaRoza_0-1624617335697.png

 

Labels