Hi,
I am trying to figure out how to select columns based on whether they appear in a list (which I have built elsewhere in my macro). This will be dynamic as part of a macro that reads in multiple Excel files and outputs selected columns to a DB table.
Is this possible? Dynamic Select doesn't have multiple inputs so I don't see how I can use that; I can't see the right way to combine my two inputs together to get the output I need.
So I have input tool (Excel source) and input tool (a list of columns) plus some data processing steps, and I need to get to an Output tool to a database where the output is the Excel file but only the columns I need.
Thanks in advance for any assistance.
Solved! Go to Solution.
Hi @datamonkey
Here is what you can do. Taking reference from one of @PhilipMannering solution.
Workflow:
1. Using formula adding a column meta info to the list of columns and setting value as keep.
2. Using dynamic rename and changing the list of columns metainfo to keep in the data.
3. Using dynamic select tool keep only column with metainfo keep.
Hope this helps : )
Thanks @atcodedog05 - I thought I'd be lucky if I got an answer by Monday! That works perfectly 🙂
Happy to help : ) @datamonkey
Cheers and have a nice day!
I have a Alteryx workflow that is trying to fetch the data from Outlook mail and wanted to insert into some table. But since the column contains more than 255 characters, the problem is quite big. Please help me to get specific data from specific columns from the attached workflow.
I need to extract specific data from the Contents field
@Jayan_alteryx Export the workflow with input file and start a new discussion with your question. As the current discussion is already solved, chances are not many look into your question.