Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Multiple Input-Parameters problem

$
0
0

Hello guys,

 

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


If I check the log of the Data Preview, the SQL Sentence only uses the PLACEHOLDER with the code ('PLACEHOLDER' = ('$$PARAM_1$$','B'))


Why only appears the Placeholder of the PARAM_1? Where is the PARAM_2?




Thanks to all


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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