Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

taking combination of row where costs are higher

$
0
0

Hi,

 

i have scenario like:

 

customer  - country - Month - Cost

001             IN          01          -100

001             US         01          -200

001             IN          02          -50

001             CN         02         -100   

 

result should be:

customer  - country - Month - Cost

001             US         01          -200

001             CN         02         -100

 

means taking the combination where cost is higher for each customer over each month. Is this something possible with graphical calc view? or have to do SQL script?

 

best regards

Ahmad'


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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