Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Group by Column based on sort.

Sarreddy
9 - Comet

Hi Team,

 

I have a fields Volunteer# and Group#, Some of the volunteers have already been assigned a group, but most have not.
Assign the remaining volunteers to groups so that each group has a total of 20 volunteers. Perform the assignment in order by volunteer number. For example, if group 1 needs ten more volunteers, assign the first ten available volunteers to that group. The same process would repeat for group 2, then group 3, etc.

Regards,

Ajith

2 REPLIES 2
Qiu
20 - Arcturus
20 - Arcturus

@Sarreddy 
I first calculate the necessary remaining volunteer count for each group then use generate rows tool to generate the sequence. then join with oirginal data.

0908-Sarreddy.PNG

Qiu
20 - Arcturus
20 - Arcturus

@Sarreddy 
Thank you for accepting my idea.
I am thinking to submit this one as an idea for weekly challenge. can you approve that?

Labels