Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
ericdelaqua
Creator
Creator

Parameterise Variable

Hello, I am have some issues writing this expression and need some help please.

When I set the following variable parameter= sum({<Dim2={$1}>}Expression3) and in my Kpi object I put $(parameter('b')) it works fine.

But when I set the variable as parameter= sum({<Dim2={$1},Dim1={$1}>}Expression3)  How can I add the Dim1 value to my expression where Dim1 value is A?

I have tried $(parameter('b'),('A')) but it is not working.

Thanks

Labels (3)
1 Solution

Accepted Solutions
MarcoWedel

parameter= sum({<Dim2={$1},Dim1={$2}>}Expression3)

$(parameter('b','A'))

hope this helps
regards
Marco

View solution in original post

2 Replies
MarcoWedel

parameter= sum({<Dim2={$1},Dim1={$2}>}Expression3)

$(parameter('b','A'))

hope this helps
regards
Marco

sunny_talwar

Just this should work

 $(parameter('b', 'A'))