ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

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

ryan_richardson
Météore

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 RÉPONSES 23
ryan_richardson
Météore

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
Atome

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

anotherusername
Astéroïde

@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
Astéroïde

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 

Étiquettes
Auteurs des meilleures solutions