Alteryx Designer Desktop Discussions

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

Dynamic select columns based on an input table

qasdxx
7 - Meteor

Hi,

 

I have 12 different files which pull into a workflow. I need to select certain fields within each file based on the column name. I am using the dynamic select tool. Rather than inputting the field names directly into the formula box of the tool, is there a way to select the field names based on a separate text input file? This way I can link up each dynamic select tool to the text input file (I will have 12 dynamic selects for each of my 12 files) and can change the field names within the text input file based on if they change each month, rather than changing the field names 12 times in the formula boxes of the select tools. 

 

Thanks

1 REPLY 1
atcodedog05
22 - Nova
22 - Nova

Hi @qasdxx 

 

Here is how you can do with help on dynamic rename and dynamic select.

 

atcodedog05_0-1633933911441.png

 

1. Using dynamic rename to set description as keep for required columns.

2. Using dynamic select to keep only columns that have description keep.

3. Using dynamic rename to rename the required columns.

 

Hope this helps : )

Labels