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

Updating column names and formulas

hendricksk
7 - Meteor

Twice a month, I need to take a report and create calculations between columns. The issue is that the column names change in relation to the month and mid-month cycle. I need the calculations between the same columns each run but the names of the columns will change accordingly. Is there a way to have Alteryx read the columns and update the formulas? Or should I just insert a line above the already existing headers? I don't want to go in and change the headers each time.

3 REPLIES 3
apathetichell
20 - Arcturus

so your formula operations should be static (column[x]-column[y]) - but you can use a transpose/formula/crosstab to pick and choose what ends up in those columns.

so you recordid/transpose your data (with recordid as a key)

you add a formula to parse the name column which includes your date/time to reformat as needed.

you crosstab your name/value to get it to fit into your column name logic (with recordid as a key. - you perform a static formula.

ChrisTX
16 - Nebula
16 - Nebula

Check out the Dynamic Rename tool.  If you post a few sample input files, the community will likely help with sample workflows.

 

TUSHAR050392
11 - Bolide

Hey @hendricksk, You can try the solution given by Danilang in this thread - https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Name-in-column-changes-but-alw...

 

Hope this helps.

Labels
Top Solution Authors