Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
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
Specialist

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...
Luben
Creator
Creator
Author

yes it is.

 thanks 

abhijitnalekar
Specialist
Specialist

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

Regards,
Abhijit
keep Qliking...