Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jerryr125
Creator III
Creator III

Variable Input Extension Question

Hi - Question about the Variable Input Extension.

My sheet has a variable input box extension and a table visualization.  Is there a way to set some type of flag or indicator on the variable to only change the variable if the record is selected within the table ? thoughts - Jerry

Labels (1)
1 Solution

Accepted Solutions
vinieme12
Champion III
Champion III

You would need to use alternate states  achieve this

Im assuming you have the same fields in the filter pane and maybe some of the same fields in a table

but don't want to change variable value when applying selections from filter pane and only respond to selections from the table

 

Create an alternate se state assign it to the table and assign the same state to the variable as well

$({MyState} vMyVar) 

 

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Visualizations/alter...

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.

View solution in original post

2 Replies
Andrea_Spinetti
Former Employee
Former Employee

Hello 👋 I'm not sure I have fully understood what development you are looking for but if you want to set a flag based on a selection the fastest way you could obtain this is by setting a variable to be:  = If( Only(YourFieldName ) = 'Value', 1,0).
If I have misunderstood your request please, clarify a little bit the context (maybe with a screenshot and/or a sample App).

If the issue is solved please mark the answer with Accept as Solution.
vinieme12
Champion III
Champion III

You would need to use alternate states  achieve this

Im assuming you have the same fields in the filter pane and maybe some of the same fields in a table

but don't want to change variable value when applying selections from filter pane and only respond to selections from the table

 

Create an alternate se state assign it to the table and assign the same state to the variable as well

$({MyState} vMyVar) 

 

https://help.qlik.com/en-US/sense/February2022/Subsystems/Hub/Content/Sense_Hub/Visualizations/alter...

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.