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

Alteryx Designer Desktop Discussions

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

Splitting file into smaller output files by "Months"

darenson
7 - Meteor

I am working with volume data that runs to be in several million records and I was hoping to create an output that can be split into multiple files and each file consisting of that month.

Here is a simplified example of this:

Master File:

FacilityQtyMonth
A14
A675
B454
B12334
B43325
A231323
A14
B45
B5344
A3213

3

A345
A86455
B2003
B3214
B21314
B231893

 

So this would be broke down into 3 files:

 

File 1:

 

FacilityQtyMonth
A231323
A3213

3

B2003
B231893

 

File 2:

 

FacilityQtyMonth
A14
B454
B12334
A14
B5344
B3214
B21314

 

File 3:

 

FacilityQtyMonth
A675
B43325
B45
A345
A86455

 

Obviously this would be on a much larger scale, but wanted to see if anyone had any thoughts with how to approach this. Thank you!

5 REPLIES 5
AndrewS
11 - Bolide

Hi @darenson 

 

You need to config the output to group on the Month. Screenshot & workflow attached.

 

MonthOutput.PNG

darenson
7 - Meteor

Hi @AndrewS,

 

This seems to just be a regular output of 1 file. I would need this be 3 separate files like the example I noted above. The goal is to create a separate file for each month.

AndrewS
11 - Bolide

Hi @darenson 

 

I've run that workflow and it is generating 3 files using the month. Are you able to share your output or workflow?

darenson
7 - Meteor

Nevermind, you are correct, it pops up in separate files on my server. I thought it would populate as 3 separate files in the workflow. It seems to be working, thanks!!

AndrewS
11 - Bolide

That looks OK, what does the log show?

 

EDIT - ignore, saw your post above, good that it works. Cheers.

Labels