Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

advanced search strings in Actions/Selections

Hi,

As you may know, in QlikView search text boxes you can use advanced expressions.

For example if I've two fields : "Customers" and "Sales". If I create a listbox for the field "Customers" and I make a search on it : I put the expression =Sum(Sales)>1000. QlikView will select Customers which made more than 1000 of sales.

That's very usefull and powerfull ... for advanced users who knows how to write expressions. So to simplify it for other users. I would like to create a button which execute the selection.

But I can't find how to do it : when I create a button, I open the properties, "Actions" Tab, Add Action, select in field. In "Field", I write Customer. In search String, I write =sum(Sales)>1000. the button doesn't do anything.

Is there a syntax problem or do you know how to workaround it ?

Thanks

P.S : I'm working with QlikView Desktop V9 SR1



1 Solution

Accepted Solutions
biester
Specialist
Specialist

Got the final answer from support now: advanced search strings are definitvely NOT supported in Actions/Selections

Rgds,
Joachim

View solution in original post

20 Replies
Not applicable
Author

Bertrand you can write the macro and you can assign it to the button but again you have to know how to write the macro

Talha

Not applicable
Author

Hi,

thanks for your answer. That's a workaround but I would like to avoid macros for performance reasons :
Running a macro automatically deletes all caches, undo-layout buffers and undological operation buffers.

Do you have any other idea ?

Not applicable
Author

Well, I once asked it to a Qlikview develpor and the solution was a Macro (for the selection based on the searched values).

Here it goes the example.

biester
Specialist
Specialist

Eager to avoid macros wherever possible, I had the same problem like Bertrand two days ago and asked support about it. The case has been escalated to second line; as soon as I have an answer I'll post it here.

Rgds,
Joachim

Not applicable
Author

OK,

Can you please update this post when you have the answer of the QlikTech support ?

Thanks

biester
Specialist
Specialist

Yes, as said.

Rgds,
Joachim

biester
Specialist
Specialist

Support suggested to work with "Toggle select". Enclosed a little demo (though I'm afraid it won't work with your case with = Sum(...) ). Anyway, as it seems "Advanced search" strings are not being supported with Select field for the time being ...

Rgds,
Joachim

biester
Specialist
Specialist

Got the final answer from support now: advanced search strings are definitvely NOT supported in Actions/Selections

Rgds,
Joachim

Not applicable
Author

Too bad 🙂 !

I'll made a enhancement request :).

Thanks for your precision,

Regards