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

Irregular aggregation of measures in calculation view

$
0
0

Hello All,

 

We are having a table in SAP HANA, whose structure is as below. Above that, we have built a calculation view, in which the measure "Quantity in TNE" have been added twice in the output, one with aggregation type "SUM" and other with "MAX", defined at the Semantics Layer.

 

Loading DatePlant Code MaterialQuantity in TNE
2012-12-081251014221.77
2012-12-121251014222.36
2012-12-121251014222.37
2012-12-171251014222.28

 

So, we get the output for the calculation view as below:

1.png

 

From this output, when we remove "LoadingDate", we still expect "Quantity in TNE" to display the MAX value, i.e 2.37, but it is making the SUM of the quantities, i.e. 7.01

2.png


Kindly explain the same.

 

 

Best Regards,

 

Ram


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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