Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9146

Cannot get sum aggregation for a column

$
0
0

Dear SAP Experts,

 

I kind of got a case with bex query.

 

I have query data in bex like this :

 

Sales order#      Material#      Billing#      Bill Amount        Net SO Amount       COGS

S1                        M1           #                          0                       6000            1000

S1                        M2           #                          0                       6000            2000

S1                        M3           B3                        800                   6000            3000

S1                        M3           B4                        400                   6000            3000

Total by S1                                                                                                     ?? -> How to get sum group by SO#?

S2                        M3           B3                        800                   7000            4000

S2                        M3           B4                        400                   7000            4000

Total by S2                                                                                                     ?? -> How to get sum group by SO#?

Grand Total SO                                   1200             13000          10000-> I already got the grand total

 

 

I already got total amount for COGS column for all SO but I don't know how to get total group by SO#.

Kindly give me some solution in order to have grouping sum of COGS by SO#.

 

 

Thank you.

 

 

Regards


Viewing all articles
Browse latest Browse all 9146

Trending Articles



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