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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Selection in a field based on another selection

Hi guys,

I have a chart that has a list of countries (that are determined where X and Y are on a particular chart).

Example: USA has X=20 and Y= 180. This is just a visual representation of where a particular country is on my chart.
I have another list generated from a database that is a company, and within that company, it has many countries relating to it. I was wondering if there was some way that if I select that company, it would display the selected countries associated with that company.


Database looks something like:
Company         Country

Company A      USA
Company A      USA
Company A      China
Company A      Mexico

Excel sheet looks something like this:
X      Y      Country name:
20   180      USA
14   -180     China
15    163     Mexico

So if I select company A, the countries USA, China, and Mexico would display.

Any help would be awesome !


Thanks!

Labels (1)
1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a chart or straight/pivot table with Country name as dimension. Add a listbox with Company as field. As soon as you select a companie in the listbox the countries for that company will be shown in the chart or straight/pivot table.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create a chart or straight/pivot table with Country name as dimension. Add a listbox with Company as field. As soon as you select a companie in the listbox the countries for that company will be shown in the chart or straight/pivot table.


talk is cheap, supply exceeds demand
Not applicable
Author

Thank you!