In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Dynamically select fields based on condition

knozawa
11 - Bolide

Hello,

 

I would like to dynamically select fields based on conditions.

 

If there is a "New Email" field, then select "New Email" field and do not select "Email" field.  If there is no "New Email" field, then select "Email" field instead.  Similarly, if there is a "New Phone" field, then select "New Phone" field and do not select "Phone" field.  If there is no "New Phone" field, then select "Phone" field instead. 

 

The tricky part is that sometimes there is no "New Email", "Email", "New Phone" or "Phone" fields.  In this case, there is no field to select.  When I was trying to use the dynamic select tool by using formula contains([Name],'New Email'), I got an error message Dynamic Select (50): RecordInfo::CreateRecord: A record was created with no fields.

Does anyone know how to dynamically select fields based on conditions?

 

Sincerely,

knozawa

2 REPLIES 2
Inactive User
Not applicable

Solution attached.

knozawa
11 - Bolide

@Inactive User,

 

Thank you very much!

I've chanced the cross tab configuration and it worked well.

Cross tab configuration.png

Sincerely,

knozawa

Labels
Top Solution Authors