Alteryx Designer Desktop Discussions

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

Splitting File - Based on Criteria

Punit_Kapadia
7 - Meteor

I have a consoldiated CSV as below and would want to split files based on criteria when the Row value is "Amount"

 

AmountSportYear  
1000NBA2022  
TeamAmountYearOwner 
Chicago Bulls1002022A 
Indiana Pacers9002022B 
AmountSportYear  
5000UEFA2022  
TeamAmount YearOwner 
Real Madrid50002022  
4 REPLIES 4
aatalai
14 - Magnetar

@Punit_Kapadia take a look at the attached workflow and let me know how you get on

cpet13
10 - Fireball

@Punit_Kapadia this sounds like an iterative macro may be what you want. In essence, you would have it find rows where the word amount is, then take everything below it until the next row that has the word amount.

aatalai
14 - Magnetar

@Punit_Kapadia apologies misunderstood the ask so take a look at the updated workflow to see grouping of data, but building on @cpet13 you might need to use a batch macro for specific group transformations 

Punit_Kapadia
7 - Meteor

Thanks aatali. It works with the record ID. Thanks!

Labels