Alteryx Designer Desktop Discussions

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

Output

aparna0208
8 - Asteroid

Hi All,

 

I have an output written into an excel file as indicated in example 1. I have the below two questions

 

1) Is there a way to add comma to the numbers automatically based on number of digits under the date column(eg: 28,843)?

2) Next time when I run the same workflow, I want only the date column appended to the right with the next run date as indicated in second example. When I try to append the output to existing file, both columns(inspection and date) get added to the bottom of existing one. Not sure if there is a way to append only one column(date) to the right of the existing one.

 

Any help would be appreciated. Thank you in advance!

 

Example 1:

 

Inspection11/10/2020
Discovery Data Firm CRD/Branch ID validated28843
Firm CRD & CRD Number mismatch validated25070
Firm CRD validated29063

 

Example 2:

 

Inspection11/10/202011/11/202011/12/2020
Discovery Data Firm CRD/Branch ID validated288432884328843
Firm CRD & CRD Number mismatch validated250702507025070
Firm CRD validated290632906329063

 

8 REPLIES 8
PhilipMannering
16 - Nebula
16 - Nebula

Question 1)

Best way is to use a formula tool with the formula,

ToString([Field1], 0, 1)

 

 

PhilipMannering
16 - Nebula
16 - Nebula

Question 2)

I may have misunderstood, but you can use a Select Tool to remove fields that you do not need.

Or, alternatively, the configuration of the Append Fields Tool will let you deselect fields.

aparna0208
8 - Asteroid

@PhilipMannering Thanks for the input. This doesn't seem to work. I tried this formula but there is no comma in the output.

aparna0208
8 - Asteroid

I tried it already by selecting/deselecting the column I want in the output file and the problem is it works but it gets appended to the bottom of the existing output and not to the right

PhilipMannering
16 - Nebula
16 - Nebula

Could you share the workflow you have so far? Preferably with Text Inputs.

aparna0208
8 - Asteroid

@PhilipMannering I have attached the workflow

PhilipMannering
16 - Nebula
16 - Nebula

Does this help?

aparna0208
8 - Asteroid

@PhilipMannering It worked. Thanks a lot for all your help on this:)

Labels