Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
M_Jay
Contributor III
Contributor III

Restricting Filter values based on dimension selection

Hi,

I have two (dimension) filters.

1) The company filter has 4 different values - A, B, C, and D

2) The country filter has 2 different values - US and CA

My goal is when I select the the company A,B, and C the users get an option to select the countries from the country filter.

But when the company D is selected I want to lock/hide/deactivate the values in the Country filter.

How do I do this? Thanks in advance for any solution.

How do 

1 Solution

Accepted Solutions
JordyWegman
Partner - Master
Partner - Master

Hi Jay,

In your country filter you could say:

IF(GetFieldSelections(Company) = 'D',null(),Country)

Though an advise.. Qlik is designed to show you all relations between the data. If D is not connected to one of the countries, then it will automatically show dark gray. The color of no relation..

Jordy

Climber

 

Work smarter, not harder

View solution in original post

2 Replies
JordyWegman
Partner - Master
Partner - Master

Hi Jay,

In your country filter you could say:

IF(GetFieldSelections(Company) = 'D',null(),Country)

Though an advise.. Qlik is designed to show you all relations between the data. If D is not connected to one of the countries, then it will automatically show dark gray. The color of no relation..

Jordy

Climber

 

Work smarter, not harder
M_Jay
Contributor III
Contributor III
Author

Thanks JordyWegman