Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

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
21 - Polaris
21 - Polaris

@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
21 - Polaris
21 - Polaris

@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
Top Solution Authors