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

Re: Complex case statement in Calculated Attribute of Analytic View

$
0
0

Hi Patrick,

 

thanks for the reply. I have tried the following case statement but got an error. Please see the error message.

 

Calculated Attribute in Analytic View

case(CALL_TYPE = 2 AND CLFAG2 !=IN ('I','i','n'),

(RING_TIME + QUEUE_TIME + DELAY_TIME + CTYPE_TIME +HOLD_TIME + TALK_TIME)

,

case(CALL_TYPE =IN(15,17),

(RING_TIME + QUEUE_TIME + DELAY_TIME + CTYPE_TIME +HOLD_TIME + TALK_TIME),0)

,

0)

 

Error Message

 

Short Text
Creation of information view failed.

Cause
Dependent information views may not have been activated successfully.

Recommendations
1) Check if the dependent information views exist.
2) Additionally, check if the dependent information views are successfully activated.

Error Message
Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Create Scenario: failed aCalcEngine.createScenario(): The following errors occured: Inconsistent calculation model (34011)nDetails (Errors):n- CalculationNode (finalAggregation) -> attributes -> calculatedAttribute (cm) -> expression: Attribute 'call_type' is missing in node finalAggregation.n- CalculationNode (finalAggregation) -> attributes -> calculatedAttribute (cm) -> expression: Attribute 'clfag2' is missing in node finalAggregation......


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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