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

Re: Script based calc view throws feature not supported error

$
0
0

Hi Sudarshan,

 

Please try the following:

 

  1. Ensure that the CYCLE_TIME is defined as the measure in your AV.
  2. Since there is no AVG function directly available, you may have to calculate it with SUM / COUNT
  3. Use only the CYCLE_TIME in the CE_OLAP_VIEW
  4. Use CE_AGGREGATION to define the SUM and COUNT with ITEM_NAME as dim.
  5. Define the var_out with CE_PROJECTION using CE_CALC something like

 

CE_CALC('"SUM_CYCLE_TIME" / "CNT_CYCLE_TIME"', INTEGER) AS "AVG_CYCLE_TIME"

 

I tried the above and it works for me.

 

Regards,

 

Ravi


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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