Hi all,
I am new to alteryx and really need some help here.
My input is like the picture (I also attached the file). For my output, if line 4 has a "Y", I want to print column ID, Name and column with "Y" out. Each column with "Y" will be printed out separately. So my output should be ID, Name and CA in one file. ID, Name and DC in a separate file. and so on... Thank you very much in advance.
Solved! Go to Solution.
Hi @shynoby ,
This is a great scenario for parsing data.
I was able to accomplish the requirement by coupling a workflow with a batch macro.
And have provides a configuration option in the workflow to set location and file name
File generator is the batch row which iterates on each column name and pushes it to write the file.
Files generated
Output file looks like.
Workflow is dynamic and can adapt to changing Y positions.
I hope this helps your purpose. If there is still anything specific you are looking for please reply back.
If it solves your case study please like the reply and mark the reply as accept solution.
PS: really appreciate that you were able to provide the file or else it would have been harder to provide solution.
Thank you for sharing this scenario. It was a great exposure.
Happy Analyzing : )
Thank you very much for the solution; however, I couldn't open the file and this error popped up:
Hi @shynoby ,
This is the version i am using.
I haven't faced any versioning issues before.
And it is using all simple tools you should not be getting a versioning issue.
Please check with this file again. Please share a snap of issue you are facing.
Or else share me a blank workflow (.yxmd) file i would load the workflow on it.
Can you try by clicking ok and proceeding.
I did hit OK but nothing import. Just blank workflow.
I can open it this time. Everything seems perfect until the file Generator. It is cut-off and your File Generator has two inputs from Summarized and Join. But mine look like one input and one output- How can I fix that?