Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
MaouNory
Contributor
Contributor

How to get a sum of rows group by column in tMap

For example I have a table of PURCHASES on Input Database that has column: buyer_id, purchase_amount

On the output Database there is a row call total_amount and buyer_id. How can I make the total_amount column be the sum of all purchase_amount in Input Database of the same buyer_id ?

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

Take a look tAggregateRow component, this component is used to do the aggregation operation including sum, count, max, first etc.

 

Regards

Shong

 

View solution in original post

1 Reply
Anonymous
Not applicable

Hi

Take a look tAggregateRow component, this component is used to do the aggregation operation including sum, count, max, first etc.

 

Regards

Shong