Free Trial

Alteryx Designer Desktop Discussions

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

Decimals in Table tool

BRRLL99
11 - Bolide

Hi,

 

DATARUPEESEXPECTED OUTPUT
A0.020.02
B0.010.01
C0.010.01
D0.010.01
E0.0070.007
F0.050.05
G0.020.02
H9696
I9595
K9494
L92.792.7
M87.587.5

 

I would i like to show decimals if present in column

8 REPLIES 8
FilipR
11 - Bolide

I'm not sure what the issue is. Could you attach your workflow? Or create one that replicates the issue?

 

Please make sure you have the data type Double or Decimal selected.

BRRLL99
11 - Bolide

decimal has been selected in the table tool

 

let's take ex:

 

IF value is 1351 then it should be 1351

IF value is 25.50 then it should be 25.50

IF value is 0.007 then it should be 0.007

 

All these values are in one column

 

FilipR
11 - Bolide

I'm not sure where you get the issue. Alteryx does not remove decimals by default. It only does when you change your data type to integer.

 

FilipR_0-1659599873446.png

FilipR_2-1659600048132.png

 

 

Are you sure the issue is in Alteryx, and not in... for example, the SQL query you use as your input?

BRRLL99
11 - Bolide

when i'm table tool by selecting 3 decimals places

 

result                                 Expected result

 

1351.000                        1351

1225.000                        1225

0.007                               0.007

0.010                             0.010

56.000                           56

FilipR
11 - Bolide

Hold on, I see it now.

FilipR
11 - Bolide

Please see attached.

 

FilipR_2-1659601417775.png

 

FilipR_3-1659601424768.png

 

BRRLL99
11 - Bolide

as you can see in the data set

 

result

1351.000

1225.000

0.007

0.010

56.000

 

expected result

 

1351

1225

0.007

0.010

56

FilipR
11 - Bolide

Yeah, my previous solution will work:

 

FilipR_0-1659601663337.pngFilipR_1-1659601669147.png

 

Labels
Top Solution Authors