Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 845

Is there a way to calculate the Median using one or multiple calculated columns in SAP HANA calculation views?

$
0
0

Hi!

 

This is my first time posting in the community so if this is out of topic please let me know. I was asked by a client to make a report which includes calculating the Median for a set of data. Has someone found a way to do this calculation using just tools from SAP HANA calculation views? I would need to do it within the view and just output the result as a column.

 

One way I thought could work would be to use a Rank node and split it in half but since I cannot use a variable as the Rank's Treshold this option is not viable. Or is it? Is there a way to make the Rank's Treshold variable?

 

Thank you all in advance for your help.

 

Regards,

 

Juan


Viewing all articles
Browse latest Browse all 845

Trending Articles



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