Alteryx Designer Desktop Discussions

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

Macro rename new calculated field based on input fields

Philip
12 - Quasar

I have a macro that takes a date-time string with offset and creates a new date-time field in UTC. I can rename the original field using the Update Select with Reverse Field Map. How can I rename the new calculated field to the input field's name with "UTC" appended while retaining the original field with it's original name?

3 REPLIES 3
jdunkerley79
ACE Emeritus
ACE Emeritus

Always like a fun challenge for the train ride. Thanks @Phiilip!

 

I used a field info tool to get the original name out and then a dynamic rename to alter.

 

 

Philip
12 - Quasar

Thanks, James! Learned a new way of using the Field Info tool, too.

aroos
7 - Meteor

Great example! I now know of a new way to use the description field. Thanks! :)

 

Let's hope that Alteryx supply us with an easier way to do this in the future. I often stumble upon this type of problem when working with macros.

Labels