Hi Sudarshan,
Please try the following:
- Ensure that the CYCLE_TIME is defined as the measure in your AV.
- Since there is no AVG function directly available, you may have to calculate it with SUM / COUNT
- Use only the CYCLE_TIME in the CE_OLAP_VIEW
- Use CE_AGGREGATION to define the SUM and COUNT with ITEM_NAME as dim.
- 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