Quantcast
Viewing all articles
Browse latest Browse all 24688

What component to use when I want to sum a column without changing the sort order? the Aggregate changes the sort order when choosing to group by.

Hi,  Any help is greatly appreciated.  This has been keeping me going for awhile.

I want to sum the PosNegAmount when I group by CompareKey. If i use CompareKey to group by in an aggregate it changes the sort order to the CompareKey then it sums. See data below.  I would want three records in this case yet I only get two.  Is there a way to sum a column and keep the sort order?

Image may be NSFW.
Clik here to view.


shash


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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