Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

How to combine CE_AGGR and CE_PROJECTION

$
0
0

Hi All

 

   I am trying to add a Aggregation result along with Other Projection result, but could not find how to achieve , below is example.

 

   quotes = CE_OLAP_VIEW(_SYS_BIC.package/AN1,[quotes Attributes]);

    orders  = CE_OLAP_VIEW((_SYS_BIC.package/AN1,[order Attributes]);

    quotes_orders =CE_JOIN(:quotes,:orders,[quoteid]);

    aggr_quotes=CE_aggregation(:quotes_orders,[count(quoteid)],[status]);

  var_out = CE_PROJECTION (:quotes_orders,[all the attributes]);

 

 

  from the above I have to add count(quoteid ) along with other attributes from quotes_orders,I tried to join quote_orders and aggr_quotes using CE_JOIN, but there is no common attribute as I have renamed count (quoteid) as quote_count_status.

 

Request your ideas in achieving the above.

 

 

Thanks

Santosh


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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