Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.

Alteryx Designer Desktop Discussions

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

Different value formats on same table

dottman
7 - Meteor

Hello - wondering what is the best way to get this single table to show the different value formats I need. Hoping to get dollar values (gross payroll, indirect payroll, etc.) to show zero decimals and then convert NOO% and Net Margin % to percentages. Currently have the table tool displaying 2 decimals in the value column and is why ER is correct, just need to figure out how to change the others individually.

 

 

dottman_0-1681826496989.png

3 REPLIES 3
Christina_H
14 - Magnetar

Something like this?

Christina_H_0-1681828813131.png

IF Contains([Name],"%") OR Contains([Name],"Ratio") THEN ToString([Value],2)
ELSE ToString([Value],0,1) ENDIF

dottman
7 - Meteor

Getting closer, how can I get the NOO% and Net Margin % to show as 134% and -19%?

 

dottman_0-1681830222581.png

 

dottman
7 - Meteor

Think I answered my own question, formula/screenshots below. Really appreciate the help.

 

IF Contains([Name],"%") THEN ToString([Value]*100,1)+"%" elseif Contains([Name],"Ratio") THEN ToString([Value],2)
ELSE ToString([Value],0,1) ENDIF

 

dottman_0-1681835082867.png

 

Labels