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: 
Vaibhav2
Contributor II
Contributor II

Filtering in dynamic value expression in variable input

Hello there, I have a variable 'Sort' which lets the user select the measure on which he can sort the table. To perform this task, I used a variable input extension with Sort as the variable and dynamic values expression. Inside the expression, I wrote the below mentioned syntax but it is not working. The gold flag is a dimension on which I want to apply a filter and Revenue is the measure. The error that it shows is 

Error in expression :- '}' expected

Can someone please help

Expression :- 'sum({<gold_flag={''Base''}>}Coupon_Revenue)~ Base Sales|'

Labels (2)
1 Reply
abhijitnalekar
Specialist II
Specialist II

Hi @Vaibhav2 ,

Try below.

Expression :- 'sum({<gold_flag={'Base'}>}Coupon_Revenue)~ Base Sales|'

Regards,
Abhijit
keep Qliking...
Help users find answers! Don't forget to mark a solution that worked for you!