community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

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

Macro Format to $ or

Highlighted

I am trying to get this macro to select columns and have the columns adjusted be adjusted by one of the formulas below.

ToString([Unit Sales], 2, 1) OR '$'+ToString([Net Sales], 2, 1)

I am having trouble figuring out how to update the column only and not create additoinal columns.

Attached is what I have so far.

 

 

@jonathangonzales I would use multi-field formulas (so that they can change the type to string as well as work on as many fields as you want), use the list box to generate the xml needed, and the action tool to update the xml of the multi-field tool to select the right columns. I've attached a version 11.0 macro.Capture.PNG

Labels