Hi all,
This time i meet some challenge designing the alteryx logic.
First, I should make some random sample in my "population pool" tab, 100 sample out of 200 population.
This should be fine when i use the "Random % sample".
Second, I should allocate these sample result to reviewer to let them review the account status, and this time i meet some challenges.
To this allocation, I have 3 criteria:
- The reviewer cannot review the account belongs to the type which reviewer is responsible for. To be more specific which means:
Tab1 shown some of the sampling results, amd the result should be allocated to the follwing reviewer name.Account No Type Account 2 A Account 13 C Account 25 F Acconut 150 G Account 179 D Account 190 E Account 197 A
Tab2 shown the reviewer name, Type 1/2/3 means reviewer responsbile type account,(which means Alice is responsible for Type A account, Ben is responsible for Type B&D accounts, etc. ) As a result, Account150 cannot be allocated under Zoe's work, because Account 150 is G type, and Zoe herself is responsible for G type account. Account 2 allocated to Ben is correct.Name Tyep1 Tyep2 Type3 Alice A Ben B D Zoe A C G - To ensure the whole scale of sample. Since my sampling no is 100 accounts, if we find the above Account 150 condition, we cannot just left the account 150 gone, instead, we should allocate this account to another reviewer, to strictly ensure that the total 100 samples have been all correctlyl allocated.
- The no. of the accounts allocated to reviewer should keep in similar level. Since we have 7 accounts in total as sample, and we have 3 reviewers, in average, each reviewer should received 2-3 accounts to review. Thus, if Alice has been allocated to 5 accounts to review, which is not allowed.
I have upload my Alteyrx workflow, you can directly design the logic based my uploaded Alteyrx logic in accordance with the above 3 criteari, if you have any brilliant idea.
Thank you guys!
Looking forward to ur reply!
Regards,
Laky
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Hi all, I've updated my Alteryx file.
Regards,
Laky