Alteryx Designer Desktop Discussions

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

Generate shuffled list

chris4987
7 - Meteor

Hi, I have a list of managers and analysts that need to be shuffled each quarter. there is 1 manager for each team and each quarter the analysts get shuffled around. I need some assistance on how to create this workflow. Thanks in advance

 

Input

ManagerAndrew
ManagerElijah
ManagerIsaac
AnalystBrianna
AnalystChris
AnalystDerek
AnalystFarah
AnalystGarrett
AnalystHarrison
AnalystJarred
AnalystKaren

 

 

Output

Q1  Q2  Q3 
        
ManagerAndrew ManagerAndrew ManagerAndrew
AnalystBrianna AnalystFarah AnalystHarrison
AnalystChris AnalystJarred AnalystGarrett
AnalystDerek    AnalystKaren
        
ManagerElijah ManagerElijah ManagerElijah
AnalystFarah AnalystBrianna AnalystChris
AnalystGarrett AnalystDerek AnalystJarred
AnalystHarrison AnalystKaren   
        
ManagerIsaac ManagerIsaac ManagerIsaac
AnalystJarred AnalystChris AnalystBrianna
AnalystKaren AnalystHarrison AnalystDerek
   AnalystGarrett AnalystFarah
1 REPLY 1
mceleavey
17 - Castor
17 - Castor

Hi @chris4987 ,

 

I've achieved this by using random number generation and sorting by this, then using the tile tools to assign managers and analysts to equal sum tiles. I then joined the analysts to managers using the assigned tile number. You can then copy this out for as many Quarters as you wish to assign in the future.

The number of tiles corresponds to the number of managers.

 

mceleavey_0-1619633887191.png

Workflow attached.

 

I hope this helps.

 

M

 



Bulien

Labels