Hi All,
I am trying to find a equivalent function that can replicate window function in calculation view.
Below are SQL that I am trying to replicate in Hana View
SELECT CATEGORY, ITEM, SUM(SALES) OVER (ORDER BY SALES) as CumulativeSales, 0 as TotalSales FROM SALES
The script above basically doing a running total on sales.
Raw Data
Expected result
Anyone have any idea what's the equivalent of "OVER" in calculation view?
Regards,
Kang