Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi everyone!
i want to know if it is possible do an "or" selections between list boxes.
I found this post, but no one could help me because they talk about "and" selections in the same list box.
http://community.qlik.com/thread/38610
http://community.qlik.com/message/127398#127398
http://community.qlik.com/message/118112#118112
thank you!
gerardo
i attached a sample in the main question....thanks!
Well, skip the associative search for now...
Open search bar on field DEALS.deal_id and enter
=match(COMPANIES.company_id,157,18,498) or DEALS.is_tourism=1
I get 588 deal IDs returned.
If I select only DEALS.is_tourism=1, I get 401 deals.
If I select only COMPANIES.company_id 157 and 18, 187 deals.
Since company_id 498 is also is_tourism=1, this looks reasonably to me.
--Stefan
im doing something wrong.....because that give me the deals from the first condition (COMPANIES.company_id,157,18,498) but not from the second part (DEALS.is_tourism=1) and the search bar look for "or" text criteria....
thanks
What do you mean with "..the search bar look for "or" text criteria..."
Just to clarify, I am not talking about the search object (well, haven't tried with that), I am talking about the search field that you get when clicking on the caption of the list box and start typing or by clicking on the magnifying glass.
Then you maybe need to clear the field from wildcards * and enter the complete line exactely as given here:
=match(COMPANIES.company_id,157,18,498) or DEALS.is_tourism=1
Hope this helps,
Stefan
excellent! its working very well.....
now....can i do something more "user friendly" with this?
thank you very much.....
Sure, but since we started with a reference thread that involved too much complexity, we need to check what is the right level of complexity.
You could for example create a variable with an input box for the companies id, and create a button with action select in field for field deals and an appropriate search string. If I find time, I will post a proposal.
Do you think that will help your users?
edit: Attached sample
of course that can help.
And not only for this case but olso for others situations that i haven't resolved yet...
Hope you have noticed my above edit. Something like this?
yes, the bottom is perfect.
thanks!