Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2067

Problem using 2 Input Parameters

$
0
0

Hello,

 

I'm trying to develop an analytic model with HANA using an Analytic view.

 

I have one Fact table with one attribute and one measure, for example:

 

DIMMeasure
A1000
B500
C3000
D2000
E1500

 

In my HANA Analytic view I create 2 input parameters like PARAM_1 and PARAM_2. They are equally configured, with an static list of A, B, C, D and E posible values.

 

Moreover, I create 2 calculate columns with the following code:

 

MEASURE_1 -> if ('$$PARAM_1$$'="DIM","Measure",0)

 

MEASURE_2 -> if ('$$PARAM_2$$'="DIM","Measure",0)


The problem I have it is that when I previsualize the result of this analytic view, if for example I introducte PARAM_1 = B and PARAM_2 = D,


the result is:


 

DIMMEASURE_1MEASURE_2
A00
B5000
C00
D00
E00


 

Why is the MEASURE_1 / PARAM_1 only working? Why MEASURE_2 doesn't work and didn't show value for DIM=D?


HANA only supports 1 Input Parameter? I have SPS10



Thanks to all




Viewing all articles
Browse latest Browse all 2067

Trending Articles



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