Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

How to cycly allocate sampling result

$
0
0

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:

  1. The reviewer cannot review the account belongs to the type which reviewer is responsible for. To be more specific which means:
    Account NoType
    Account 2A
    Account 13C
    Account 25F
    Acconut 150G
    Account 179D
    Account 190E
    Account 197A
    Tab1 shown some of the sampling results, amd the result should be allocated to the follwing reviewer name.
    NameTyep1Tyep2Type3
    AliceA  
    BenBD 
    ZoeACG
    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.
  2. 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.
  3. 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


Viewing all articles
Browse latest Browse all 4999

Trending Articles