Hi all,
I just stumbled across a solution and thought I would share it. I was trying to select fields based on a a dynamic input, i.e.
required_fields
field1
field2
field3
field4
And my data:
field1; field2; field3; field4; field5; field6 .....
1 ; 2 ; 3 ; 4 ; 5 ; 6 .....
I've produced a macro that uses transposes and dynamic selects/renames to select only the fields that are present in the rows tool. Hopefully it will be helpful to someone in the future!
If anyone has a better way of doing this/has it been done before let me know, I'd be interested to see what else has been done. Or if this is even a problem?
https://gallery.alteryx.com/#!app/Dynamic-Select/56af2b23a248970f909a41d7
Thanks!
Ben - BIPB