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

Function equivalent to RATIO_TO_REPORT in HANA SQL for ratio calculation

$
0
0

Hello All,

 

I have a select statement where i have to calculate the quantity ratio by dividing each row by the total quantity of all the rows grouping on date field.

 

We have a function in oracle PL/SQL RATIO_TO_REPORT to achieve this functionality.

 

Do we have any function similar to this in HANA SQL if we don't have any function how can i achieve this functionality. please guide me.

 

You can see the functionality in below link used in Oracle PL/SQL..

 

RATIO_TO_REPORT

 

 

Thanks


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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