Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Rename Column Based on Radio Button

Estuary
5 - Atom

I am working on an analytic app that contains several radio buttons. 
Is it possible to update the name of a column to a specified value based solely on the click of a radio button? This seems simple, but I cannot see how to do it even using conditional tools and the action tool.

Example: If button 1 is clicked, then the column is renamed A. If button 2 is clicked then the column is renamed B.

Thank you

1 REPLY 1
NicoleJohnson
ACE Emeritus
ACE Emeritus

Definitely possible!

 

See that attached workflow - you can use a formula in the Action tool connected to one of your radio button Interface tools to determine whether to name the column 'A' or 'B'. In the example attached, I initially renamed the column in a Select tool, and then pointed the Interface tool/Action tool to that Select tool, and selected the renamed column as the location that should be updated by the Action tool. If the first radio button is selected, i.e. "True", then update it to A, otherwise update it to B.

 

RadioRename.JPG

 

Take a look - hope this helps! :)

 

Cheers,

NJ

Labels
Top Solution Authors