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.