Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Error in calculated column based on restricted measure in calculation view

$
0
0

Hello Experts,

 

I have one calculation view CV1. Here I have below restricted and calculated measures.

 

RM1 = 0AMOUNT (Restriction on Account Type)

RM2 = 0AMOUNT (Restriction on Employee Type)

 

CM1 = RM1 - RM2

 

Now when I am selecting CM1 in a select statement like below I am getting error

 

select dim1, sum(CM1) from CV1 group by dim1

invalid KF error.PNG

 

However when I select restricted measures as well I get the result.

 

select dim1, sum(CM1), sum(RM1), sum(RM2)  from CV1 group by dim1

 

Anybody know the fix of this error, please help post here.

 

Thanks

 

Rakesh


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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