Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
We’re experiencing technical issues with our vendor that are affecting license activations for Designer Desktop. We don’t yet have an estimated resolution time. We apologize for the inconvenience and will share updates as we have them.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamic Select

afontaine
7 - Meteor

I am trying to use the dynamic select to select a certain number of fields. The data is laid out by having a state and then a set number of fields after that and then another state. The states wont always be in the same order and different number of states will exist in each file.

 

For Example 

Georgia and then the next 3 fields

New Jersey and the next 8 fields

 

contains([Name], "Georgia")+3fields

OR

contains([Name], "New Jersey")+8fields 

 

I can grab the state headers by using a contain function but not sure about the following fields. Let me know if this doest make sense

3 REPLIES 3
CharlieS
17 - Castor
17 - Castor

I would try going about this using a Dynamic Rename tool to rename the subsequent fields desired so they can be selected by the Dynamic Select. The fields can be renamed back to their original names following the Dynamic Select using another Dynamic Rename tool. 

 

When I get a few minutes, I'll build an example.

EDIT: @jdunkerley79 made it happen. 

jdunkerley79
ACE Emeritus
ACE Emeritus

I'd use a field info tool and multirow formula to make a set of keep/remove

 

Then use a dynamic rename to apply to description before using this as a dynamic select

2018-10-25_16-31-37.png

afontaine
7 - Meteor

Thank you both. Works great!

Labels
Top Solution Authors