cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Populate Aggregate snap with Pipeline Parameter

philliperamos
Contributor

So Iโ€™d like to use the value of a pipeline parameter as the field in the Aggregate snap.
image

Can this be done, and if so, how?

1 ACCEPTED SOLUTION

koryknick
Employee
Employee

Specify the field name, including โ€œ$โ€ in the pipeline parameters:

image

Then use the โ€œeval()โ€ function in the Aggregate snap:

image

This doesnโ€™t set the result field name, but that can be done in a subsequent mapper if needed.

View solution in original post

2 REPLIES 2

koryknick
Employee
Employee

Specify the field name, including โ€œ$โ€ in the pipeline parameters:

image

Then use the โ€œeval()โ€ function in the Aggregate snap:

image

This doesnโ€™t set the result field name, but that can be done in a subsequent mapper if needed.

Thanks, that worked for me.