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

set selection

Hi,

I am using set analysis for some calculations.

I am trying to get qlikview to select a set of dates when the user selects identicial dates in another field. how do I write this expression?

Thanks

Just to clarify, I have the following tables:

TABLE_A:

NameCostLocation
John3245POL
Ben345345POL
Dave4UK
mary35353532POL
jim342UK
Jam345UK


TABLE_B:

Location_external
UK
POL
USA

When I select (for example) "POL" in TABLE_B, I need TABLE_A to be filtered to all records  with POL in the location field.

At the moment Location and Location_external are not linked in anyway.

How can I do this using set analysis?

Thanks

1 Solution

Accepted Solutions
Not applicable
Author

Figured it out,  but thanks for the help

View solution in original post

6 Replies
DavidFoster1
Specialist
Specialist

You are going to need to explain this more fully.

Not applicable
Author


Just added some detail hope thats helpful.

Not applicable
Author

give details

Not applicable
Author

Just updated the original message. is that helpful?

Gysbert_Wassenaar

Rename Location_External to Location so QV can associate the fields. Then add a listbox for the Location field and select the value POL. That's the easy way.

If you want to do things in an unnessarily complicated way the you can add a listbox for Location_External and add a Select in Field action to the OnSelect field trigger (on the Triggers tab of the document properties window). The field to select in is Location and the search string is: '(' & concat(distinct chr(34) & Location_External & chr(34), '|') & ')'


talk is cheap, supply exceeds demand
Not applicable
Author

Figured it out,  but thanks for the help