Start Free Trial

Alteryx Designer Desktop Discussions

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

Random Sample

Gratus_tz
8 - Asteroid

Hi Everyone,

So lets Say i have a Gl that has 100 Transactions and there are 10 Accounts Code each having 10 Transactions, so by using Alteryx I want to Separate the Transactions for each Account Code to become as a set of new Data where I can Apply Random % Samples  and then I will Later on Join the Seperated Data into one GL.

 

Transaction IDDateDescriptionAmountDebitCredit
1001 2/7/2024Utilities917.01917.010
1001 2/9/2024Raw Materials683.83683.830
1001 2/7/2024Supplier Payment269.310269.31
1002 2/8/2024Office Rent952.140952.14
1002 2/4/2024Raw Materials409.29409.290
1002 2/2/2024Sales Revenue884.350884.35
1003 2/1/2024Sales Revenue755.42755.420
1003 2/8/2024Raw Materials855.84855.840
1003 2/6/2024Utilities675.230675.23
1004 2/7/2024Raw Materials168.640168.64
1004 2/5/2024Raw Materials926.340926.34
1004 2/9/2024Office Rent873.540873.54
1005 2/8/2024Utilities519.520519.52
1005 2/2/2024Raw Materials190.25190.250
1005 2/1/2024Utilities113.080113.08
1 REPLY 1
alexnajm
18 - Pollux
18 - Pollux

Can you use the "1 in N Chance to include each row" in the Sample tool? That will give you the grouping option

 

Otherwise it would likely be a batch macro!

Labels
Top Solution Authors