Alteryx Designer Desktop Discussions

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

Render tool number formats by row

MeanLeanDean
8 - Asteroid

How can I format a number differently by row in the Render tool?  Specifically, for example, how can I show decimal places for, say, a ratio value when other values are whole numbers.  TIA.

 

MeanLeanDean_0-1650558467700.png

 

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@MeanLeanDean 
It seems that the Decimal Place by default is 0 for columns.
We need to change it if want different.

Capture1A.PNG

SPetrie
12 - Quasar

Building on Qiu's answer. If you only want specific rows of the column to have decimal places, you can use a combination of a helper column and formula rule.

This is a simplistic example but it works.

I create a Boolean column and set it to true for items I want to save the decimal for.

SPetrie_1-1650659775624.png

The rule just looks for the Boolean being true to apply. Just remove the helper from the output so you dont see it anymore.

SPetrie_2-1650659813330.png

SPetrie_3-1650659882018.png

 

Your other option is to convert the columns to string for output instead, but if the goal is to output to excel, it will take issue with numbers formatted as text.

Here is the same data set output but formatted as string before reaching the table tool

SPetrie_4-1650660017464.png

 

 

 

 

 

 

MeanLeanDean
8 - Asteroid

Thanks to both of you!

Labels