cancel
Showing results for 
Search instead for 
Did you mean: 

Create new column to file

adekunah1
New Contributor

I have sample file ay excel file like below screenshot,

image

I am trying to add another field or column in the input file in my snaplogic pipeline and look like below screenshot.

image

Any hints on this?

Thanks in advance.

1 ACCEPTED SOLUTION

bojanvelevski
Valued Contributor

Hi @adekunah1 ,

You can achieve this with a Mapper and the snap.in.totalCount function which counts the incoming documents. Here is the result:

image

I’ve attached the sample pipeline below

Excel - ETL.slp (7.9 KB)

Regards,
Bojan Velevski

View solution in original post

2 REPLIES 2

bojanvelevski
Valued Contributor

Hi @adekunah1 ,

You can achieve this with a Mapper and the snap.in.totalCount function which counts the incoming documents. Here is the result:

image

I’ve attached the sample pipeline below

Excel - ETL.slp (7.9 KB)

Regards,
Bojan Velevski

@bojanvelevski thank you so much. It has helped a lot. I am new to Snaplogic workspace and working on some pipelines.