Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Excel Unecessary Trailing Zeros

jpatel3868
7 - Meteor

For some reason, I am getting added zeroes when converting into an excel file but my output from the workflow only has two decimal places

Capture.PNG

Capture1.PNG

  

5 REPLIES 5
mceleavey
17 - Castor
17 - Castor

Hi @jpatel3868 ,

 

If you set the field to a type Fixed Decimal 19.2 (19 characters before the decimal, two after) then it will output from Alteryx with two decimal places.

If Excel renders this as 6 decimal places, then the problem is in excel not Alteryx.

You can test this by outputting to a .csv and opening in Notepad to show that it is outputting with two decimal places.

 

M



Bulien

jpatel3868
7 - Meteor

What if I want it in Excel only? How would I change the rendering to only up to two decimal places.

mceleavey
17 - Castor
17 - Castor

@jpatel3868 ,

 

Use the output tool to output into Excel?

 

I'm not sure I understand the question.

 

M.



Bulien

jpatel3868
7 - Meteor

I do not want it on Notepad or CSV. I want it on Excel but its rendering to 6 spots even though it looks perfect on my workflow. Is there a way to fix this through the alteryx workflow to achieve what I want?

mceleavey
17 - Castor
17 - Castor

@jpatel3868 ,

 

My first post explains how to do this. The second post explains how to output to Excel. Use the output tool and select output as Excel (.xlsx).

 

If you are rendering the output as two decimal places, you can simultaneously output to .csv to check that is the case. If it renders in Excel with 6 decimal places, then the problem is in Excel and not in Alteryx.

 

M.



Bulien

Labels