Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Luben
Creator
Creator

input variable

hello there i am creating an application with different charts, I want to use the variable input extension to be able to toggle my charts when the user’s select a specific drop down in the input variable it switches to the selected variable.

I am using the following

if(

‘$(vQty)’ = ‘Qty’, Sum(quantity),’$(vDollar)’)

the if statements is what i have as my measure expression 

vDollar is defined as

LET vDollar = ‘(unit * Quantity)’;

Set vQtv = ‘Qty’;

I can’t get the variable input to work.

Please I really need help urgently 

Thanks

3 Replies
abhijitnalekar
Specialist II
Specialist II

Hi @Luben ,

 

if(

‘$(vQty)’ = ‘Qty’,

Sum(Quantity),’$(vDollar)’

)

 

is quantity the right measure? while setting vDollor variable you have used Quantity..  

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

yes it is.

 thanks 

abhijitnalekar
Specialist II
Specialist II

Is it possible to send you the sample data and input values that you have set for the dropdown.

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