We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
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