Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Issues while implementing a formula in scripted calculation view

$
0
0

Dear Experts,

We are using a scripted calculation view and have used a formula

 

POWER

(((( "COL1" / Db ) - WDBT ) / ( 4 - WDBT )) , 1 ) AS "COL3"

 

 

 

 

The issue here is that when i calculate it manually it differed from the result in calc. view. When i explored further by dissseminating the formula i was surprised to see that the numerator was giving me the problem

 

the numerator's ("COL1" / Db) is working fine  but when i subtract WDBT it causes me issues ("COL1" / Db) - WDBT should have been 1.1522.... but rather it shows as 1.252..... which means that the value of WDBT is read as 1 incorreclty or is this because of something else(like datatype conversion).

 

Because if  in the denominator value is read correctly why it isnt read correctly in the numerator.

 

Please help me here.

 

 

Thanks,

Rajesh.


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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