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

Announcements
Q&A with Qlik - Qlik Cloud Migration: Questions about migrating to Qlik Cloud? Catch the latest replay!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create a Variable for filter a field of Table

Hi All,

it's possibile to create a Input Variable to filter a Table, see the example of my ideal results.Book1 - Excel.jpg

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

May be using a trigger like in attached.

View solution in original post

9 Replies
tresB
Champion III
Champion III

It's possible. But why that way? You can allow users to select the filed value from the field listbox itself. And may be can capture the selection in a variable if needed defining your variable like:

VariableFieldA= Field1

And yes, always try to post a sample along with your query so that people can work on that and you get faster resolution.

Not applicable
Author

I have some tables with the total data . A user through the input variables must be able to filter the table for the value or set of values

susovan
Partner - Specialist
Partner - Specialist

Hi,

You can try this.

=Only({<Filed1 = {'A'}>}Filed1)

Warm Regards,
Susovan
Not applicable
Author

I need to dynamic filter with a varible

susovan
Partner - Specialist
Partner - Specialist

Hi paolo,

Try this.

=only({<Field1={"$(vFilter)"},Field1={'A'}>}Field1)

Here vFilter is variable name,

and variable definition is vFilter=Field1

Warm Regards,
Susovan
tresB
Champion III
Champion III

PFA

Untitled.png

Used Exp:       Sum({<Notification={'$(vInput)'}>}1)

Not applicable
Author

Hi tresesco,

this is the best answer , but I will table its total data filter is not necessary to create a new input data table Use.

tresB
Champion III
Champion III

May be using a trigger like in attached.

Not applicable
Author

that's it