Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
Traditionally it is possible to define search in a certain field. But I need to tune it somehow.
Imagine that my field "Ads" consists of more than 5 thousands values.
There's another field "Year of Ads issue". It means that I can define, for example, 2017 in order to limit the list of ads to 2017 only.
My task is the following:
Is ti possible?
Thank you in advance,
Larisa
add an expression listbox
example
= AGGR(only({< Year= {2017} >} Ads) , Ads)
The question is not about a list box. It is about a search object.
The point is that the list of values is huge (about several thousands). There's no point to display them all in a list-box. Search funstion would be much more convenient.
I need to set a condition for a Seach object: search within "Ads" but limited to "Year" = 2017.
QlikView has a simple standard Search option to do just that.
Best,
Peter
[Edit] ? icon means help. Magnifier opens search field.
The only way to do this is to create a new field via script that contains only 2017 ads.
Hi Peter,
Unfortunately, the icon in the right-upper corner of a list-box doesn't allow to show search results in a convenient way. I would not use it. I think that a Search Object is much more user-friendly.
My clients are used to seeing the search results displayed by a Search Object in the way you can see on the screenshot (see the attachment). This sort of search results display is only possible if a Search Object is used.
As the list of values in the search results is huge, my clients ask me to be able to limit the search results to a certain year.
If no standard tool can be applied, is it possible to tune a Search Object by means of an extension?
I would suggest you to create a new field in the load script on the same table that has your ads:
If(Year=2017, Ads) as Ads2017
It will contain only ADS of current year, you can then use the search function on that field.
All search engines allow to limit search results according to the required conditions.
I wouldn't call it smart to create in QlikView separate fields for this task.
I'm sorry but i know how QlikView works and there are no possibility to do what you want except to create a new field or use a ListBox.
If you can't accept these solutions the only way is to create a new customized extension.
"All search engines allow to limit search results according to the required conditions."
Hi, can you please suggest some? i'm keen to know
I wouldn't call it smart to create in QlikView separate fields for this task.
This is your best option for a searchbox
Thanks
V