In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Distribute (join) rows evenly

arturo_garcia
5 - Atom

Hello,

 

I am trying to distribute audits (rows) evenly among a list of auditors. For example, if I have 40 audits to be done and 7 auditors, how can I distribute (join) this evenly among the 7 auditors? Keep in mind number of audits and auditors can vary.

 

Audit No 
1 
2 
.... 
40 

 

Auditor ID 
A 
B 
C 
D 
E 
F 
G 

 

Expected result:

 

Audit NoAuditor
1A
2A
3A
4A
5A
6A
7B
8B
9B
10B
11B
12B
13C
 
34F
35G
36G
37G
39G
40G

 

So 5 auditors would get 6 audits and 2 would get 5. I tried the following formula but it is not working with all cases:

 

ceil([AuditNo]/(ceil([TotalAudits]/[TotalAuditors])))

 

 

1 REPLY 1
Aaron_Harter
11 - Bolide

Hi @arturo_garcia

 

I've designed some logic to first determine how many Audits should be mapped to each Auditor ID, and then map those values in the desired order:

1.PNG 

Labels
Top Solution Authors