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:
DIM | Measure |
---|---|
A | 1000 |
B | 500 |
C | 3000 |
D | 2000 |
E | 1500 |
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:
DIM | MEASURE_1 | MEASURE_2 |
---|---|---|
A | 0 | 0 |
B | 500 | 0 |
C | 0 | 0 |
D | 0 | 0 |
E | 0 | 0 |
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