Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

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

Split a stream into multiple streams based on values in a specific column

ryan_richardson
7 - Meteor

Hi- I just spoke with Alteryx support about this and they suggested I add this to the Community page. Basically, for an incoming data stream, I'd like to be able to "split" the file into unique files based on the value of a particular column. I've attached a file for reference- in this file, it would be great to be able to have the incoming data split according to the Brand or Vehicle Type fields, with each stream available for further manipulation after the split. 


While this can be accomplished one at a time with the Filter tool, for large files with 50+ "split-by" values, it would be great to accomplish this in one step. 

 

Thanks in advance for your vote!

23 REPLIES 23
ryan_richardson
7 - Meteor

That's a great point- I've not noticed that before and got the same result when I tried to output to Excel. This doesn't appear to be the case when writing to .csv files, which you can have open in Excel if you configure your settings correctly. 

 

Would this work for you?

 

Thanks-

saiharish
5 - Atom

Thanks. That could help. However, I solved it using reporting tools by grouping data into separate reports in the render tool. 

anotherusername
8 - Asteroid

@nick_schimweg - useful little macro for quick analysis, ta!  (adjusted to 10 outputs, changed the outputIDs but not the filterID on first pass oops hah)

brandon_bunney
8 - Asteroid

late reply, but thank you for posting this Macro. I am implementing it into a pre-production workflow where I needed to split data streams 

Labels
Top Solution Authors