Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Macro Format to $ or

jonathangonzales
8 - Asteroid

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.

 

 

1 REPLY 1
patrick_digan
17 - Castor
17 - Castor

@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