cancel
Showing results for 
Search instead for 
Did you mean: 

Aggregate Snap

Harsha3
New Contributor III

Hi ,

I was trying to extract repetitive string from the source using aggregate snap by specifying count condition and filtering for the count>1 . I don’t get the desired output instead it fetches only unique elements . Can someone suggest any alternative which could be adapted to achieve the above method.

Source mapper:

image

Aggregate snap and its output:

image

image

2 REPLIES 2

del
Contributor III

@Harsha3, the GROUP-BY fields created a uniqueness for each record where their combination is unique, so the count of Veeva_Prid won’t aggregate in those cases. I think you will need to remove the Veeva_territory and User_Active fields from your GROUP-BY section to get the counts you expect.
image
However, you will lose the other output fields. So, if you still need those downstream, you will need to join them back in (with maybe a pre-aggregate copy and post-aggregate join).

Harsha3
New Contributor III

Thanks a lot Del it worked