Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Error while executing the the SQL on top of Analytical view

$
0
0

Hi Gayathri,

 

Option 2:

 

Check in _SYS_BIC on how many views got generated for this analytic view. You will see one with /OLAP and another one without it.

 

When you added the calculated column it will generate one more view other /OLAP in the database, the other view is similar to a calc view wrapper. Hence after addition of calculated column, the select query is trying to invoke the other column view and thereby you are breaking that limitations caused due to /OLAP view

 

Option 3:

 

You cannot apply like that. Instead create a calculated column: if(col1>col2,1,0)

then apply filter on calculated column = 1 using variable.

 

Regards,

Krishna Tangudu


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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