cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Values in Input Parameter - Hana Calculation view Analysis for Office

kenton_burckhart
Explorer

I create d a graphical calculation view with multiple input parameters, one being a multi value input to filter on a projection. The Syntax of the filter is this: match("MDV01",'*$$ProdLine$$*') or in("MDV01",'$$ProdLine$$')

When i use analysis for office, the prompts display correctly giving multiple options

but i get the following error referencing TK_RPAREN missing.

Accepted Solutions (1)

Accepted Solutions (1)

KonradZaleski
Active Contributor

There are two issues which I see in your logic:

1. For your scenario you cannot use match function because it supports only single values.

2. For multi-value input parameter you should remove single quotes from filter expression :

in("MDV01",$$ProdLine$$)
kenton_burckhart
Explorer
0 Kudos

Thanks Konrad. This helped me get it to work. The only issue i'm running into will be when its a parameter that we want to not be mandatory. I used the match() so that we could query all values of MDV01 if the prompt was left empty. Thanks for your help!

shahidmahmud
Explorer

Thanks, Konrad,

This is an old thread but the problem I was facing needed exactly this fix. Great work!

Answers (2)

Answers (2)

raj_saptech
Discoverer
0 Kudos

Hi Konard,

I was able to figure out, each value should be in double quotes separated by a comma.

Thanks,

Raj

raj_saptech
Discoverer
0 Kudos

Hi Konrad, In the above example the filter expression is good. However, if we need to pass the multiple values to the select queries using parameter i am getting an error. Could you Please advise.