Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
GrantBooth
Creator
Creator

How do I use a function to make a selection?

Is it possible to use a function to make a selection from a field?

I have a variable v.SelectedContainer, I would like to select a value from field Chart based on the selected variable. This might seem strange but there is a reason I'm trying to do it this way.

So something like if($(v.SelectedContainer), = 1, select Chart = 1) Ideally I would not like to use IF as there are about 30 selections in Selected Container.

2 Solutions

Accepted Solutions
Andrea_Spinetti
Former Employee
Former Employee

Hi @GrantBooth, have a look at this thread on how to get a value from selected value in filter pane and let me know if it helped. Cheers 😊

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

View solution in original post

sleprevo
Partner - Contributor
Partner - Contributor

Hi,

Im facing a similar problem, Im searching for a function to make a selection from a field.

Could you please share your approach ? 

Thank you

View solution in original post

3 Replies
Andrea_Spinetti
Former Employee
Former Employee

Hi @GrantBooth, have a look at this thread on how to get a value from selected value in filter pane and let me know if it helped. Cheers 😊

If the issue is solved please mark the answer with Accept as Solution.
GrantBooth
Creator
Creator
Author

Thanks for the response, I was able to find a different solution by approaching the problem a little differently. Yours is definitely good, I will remember that one for next time

sleprevo
Partner - Contributor
Partner - Contributor

Hi,

Im facing a similar problem, Im searching for a function to make a selection from a field.

Could you please share your approach ? 

Thank you