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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
manideep78
Partner - Specialist
Partner - Specialist

Select In Field in Button Action

Hi All,

Button >> Actions >> Select in Field

Field 

         Can we pass multiple fields here?

Search String

         I know we can pass multiple values here.

Thanks

Labels (1)
5 Replies
QFabian
MVP
MVP

Hi @manideep78 , you can create more than one action : 

 

QFabian_2-1617225812368.png

 

QFabian_1-1617225792130.png

 

 

QFabian_0-1617225777239.png

 

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.
manideep78
Partner - Specialist
Partner - Specialist
Author

hi @QFabian 

is it possible to pass multiple fields within one select in field action?

i would to pass  fields dynamically.  search for a string in multiple fields dynamically.

QFabian
MVP
MVP

I think wih a macro you can do that, and then create one external macro action.

This could be a base , and you can add an array or something to produce the required automation 

Sub SelectFields

ActiveDocument.Fields("Field1").Select "A"

ActiveDocument.Fields("Field2").Select "B"

ActiveDocument.Fields("Field3").Select "C"
End SUb

Greetings!! Fabián Quezada (QFabian)
did it work for you? give like and mark the solution as accepted.
manideep78
Partner - Specialist
Partner - Specialist
Author

Hi @QFabian 

Thanks for recommending the macro. 

I'm not it will fit my requirement. here is my requirement

Inputbox = "Hello World"

List box(led checkboxes) with Field names as values(Title, Summary, Description) created with inline table.

**actual table have original columns**

  *************

select any values from above list box

(Title) or (Title + Summary ) or ALL

then On click of a button, if hello world exists in either of the selected original columns then filter down to those rows and display in table box.

**** Dynamic search of a given string in selected fields and apply filter *****

manideep78
Partner - Specialist
Partner - Specialist
Author

Hi @QFabian 

My requirement is something similar like this:

https://community.qlik.com/t5/QlikView-App-Dev/Button-to-select-multiple-fields-with-logical-OR/td-p...

In this post, @swuehl  replied with the solution but it's not working for me.