Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

output data truncate

Beckyli
8 - Asteroid

not sure why my output data was truncated, please see below workflow and output excel. i notice why the data was negative the output file was truncated, if it was positive the file was fine.

 

Beckyli_0-1679852766075.png

 

7 REPLIES 7
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Beckyli hi! Just ran a little simulation:


Before it goes into the Table:

BS_THE_ANALYST_1-1679854306637.png

After:

BS_THE_ANALYST_2-1679854329782.png

So the table configuration is the issue. I'll have a dig in the table settings. At least we can see where it is

 

All the best,
BS

LinkedIN

Bulien
BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@Beckyli well, as a workaround. Change the datatypes to V_WStrings of a decent size, i.e. 200:

BS_THE_ANALYST_3-1679854601122.png

It can't truncate it if it's a string haha!

BS_THE_ANALYST_5-1679854653761.png

 

If you need to change the Datatype of multiple columns to V_WStrings, I wouldn't do it using the Select tool. That's repetitive and monotonous. Use the Multi-Field tool:

BS_THE_ANALYST_7-1679854823505.png

 


All the best,

BS

 

 

 

All the best,
BS

LinkedIN

Bulien
Beckyli
8 - Asteroid

we want to all below column are the numbers, and the type should be Double, which can be calculated. if it change to string it doesn't work for sum amount.

Beckyli_0-1679857398749.png

Beckyli_1-1679857436450.png

 

 

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

BS_THE_ANALYST_1-1679864492445.png

 

Can't you just add a Select tool here (just before it goes into the table tool - see the black cross I put in the picture above). All the calculations have been completed at this point. You would simply be changing the Datatypes from doubles to Strings. You aren't doing anymore calculations past this point, it's just getting put into a table and then exported to an excel file. 

It's just one workaround, of course, there may be settings in the Table tool that stop the truncation occurring 😁

 

 

All the best,
BS

LinkedIN

Bulien
binuacs
21 - Polaris

@Beckyli have you adjusted the decimal places in the table tool?

 

binuacs_0-1679906269138.png

 

BS_THE_ANALYST
14 - Magnetar
14 - Magnetar

@binuacs can't believe I didn't spot that 😂

 

All the best,
BS

LinkedIN

Bulien
Beckyli
8 - Asteroid

thank you, i found out the solution only need change the size of format.

Labels