Skip to main content

Hi all.

I've got a tab file that I run a few
queries against it to pull out some values which based on a published parameter
used for the query. The results are then written into an Excel table

In this case the publish parameter ‘LEASE NAME’ used in the
query has extracted the Collingwood 3 data from dataset. Seven records were
extracted however I’d like to make those into a single record that contains
data from each attribute where present. Additional I want to sum the values in
the length columns.

At the moment it looks like this.

But I want it to look like this.

What should I be doing to get this result?

Thanks a heap

Michael

Remove (i.e. Map to Missing) all the Empty and Null attributes with the NullAttributeMapper, and aggregate the records with the Aggregator transformer.

  • Group By: LEASE NAME
  • Accumulation Mode: Merge Incoming Attributes
  • Attributes to Sum: length

Then, create a published parameter from the Group By parameter in the Aggregator.


Remove (i.e. Map to Missing) all the Empty and Null attributes with the NullAttributeMapper, and aggregate the records with the Aggregator transformer.

  • Group By: LEASE NAME
  • Accumulation Mode: Merge Incoming Attributes
  • Attributes to Sum: length

Then, create a published parameter from the Group By parameter in the Aggregator.

Hi Takashi. That looks to have worked. I'll do some testing on other values but it's now coming out as a single record. Thanks, Michael.

 

 


Reply