Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Grouping rows

$
0
0
I can't figure out how to group rows. I want to group and transform the rows from this:

account websiteId currency type amount
paypal 1 EUR shipped 25
paypal 1 GBP income 14.5
paypal 1 GBP shipped 12
paypal 1 GBP unshipped 3
paypal 2 EUR shipped 3
paypal 2 EUR unshipped 6.5
paypal 2 GBP income 45
secpay 3 GBP income 34

...to this:

account websiteId currency income shipped unshipped
paypal 1 EUR 14.5 25 0
paypal 1 GBP 0 12 3
paypal 2 EUR 45 3 6.5
paypal 2 GBP 0 0 0
secpay 3 GBP 34 0 0

Row denormalizer seems the most appropriate, but I can't tell it to aggregate the amount column. Help please!

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>