Create an aggregate with group By and Having field with a fixed value

Highlighted
Five Stars

Create an aggregate with group By and Having field with a fixed value

Hello, 

 

I want to do calculate the sum of MOPE having same NCRECRI and COPE= "DRB"

the variable DRB is a fixed value of DRB, that I have put it in the entry link.

but as a Result it doesn't take into account the cope = DRB, he is making the sum of all MOPE having same NCRECRI and COPE

Can you help me please? should I use another component?

 

Capture.PNG


Accepted Solutions
Seven Stars

Re: Create an aggregate with group By and Having field with a fixed value

Hi @chou ,

 

Before passing the values into tAggregaterow, filter the values in tFilterrow i.e, COPE= "DRB". 

Try and raise your question if you still getting the same error.

 

Thanks,

Joe 

Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

 

View solution in original post


All Replies
Seven Stars

Re: Create an aggregate with group By and Having field with a fixed value

Hi @chou ,

 

Before passing the values into tAggregaterow, filter the values in tFilterrow i.e, COPE= "DRB". 

Try and raise your question if you still getting the same error.

 

Thanks,

Joe 

Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

 

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog