Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

Decimals Issue

zqlcancer
8 - Asteroid

I need change the display of numbers to keep 2 decimals. The select tools seems only working for those number which has more than 1 decimal. e.g. 1.345 can be changed to 1.3 but 0 can not be changed to 0.00. Can I do this in Alteryx like I do in excel by changing the format?

 

Current ValueExpect ValueAlteryx Value
00.000
1.21.201.2
2.3342.332.33
11.001
6 REPLIES 6
binuacs
20 - Arcturus

@zqlcancer Change the datatype to fixed decimal

binuacs_0-1675892976781.png

 

zqlcancer
8 - Asteroid

@binuacs , actually if you look at my attached sample, you can see I did the same like you did but Alteryx did not return the expected results. Is this because I used an old version of Alteryx?

 

 

ShankerV
17 - Castor

Hi @zqlcancer 

 

I could see the correct result when the same attached workflow by your's run in my system.

We are not sure what output you are seeing at your end.

If you are able to attach any screenshot of result you see will be easy to investigate further.

 

ShankerV_0-1675941924693.png

 

Many thanks

Shanker V

Raj
15 - Aurora

use select tool and set data type to fixed decimal and set 19.2

 

this suits best ib this case

hellyars
13 - Pulsar

@zqlcancer 
@binuacs  is correct. 

 

BUT >>> USE the Multi Field Tool to convert the field to a fixed decimal.  

>>> To keep two decimal places change the default size from 19.6 to 19.2. 

19.6 will generate 6 decimal places.    20 will become 20.000000  

>>>19.2 will generate 2 decimal places.    20 will become 20.00

 

 

 

Technically 19.2 means 19 digits with 6 after the decimal

 

Screenshot 2024-04-04 171019.png

Labels