Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
SatyaPaleti
Creator III
Creator III

How to see limited values in Tables Search

Hi Friends,

How to see limited values in Tables Search? 

I am having following Data

Country State Sales
India Andhra 12332
India Karnataka 23243
India Maharashtra 22131
India Telangana 22313
USA Florida 12345
USA New Jersey 32123
USA New York 34345
USA Texas 54321

 

I have data for countries. I want to see data only for USA and I am using following expression in measure sum({<Country = {'USA'}>}Sales). Its working as expected.

SatyaPaleti_1-1685337192732.png

But when the user wants to select specific state then it is showing all the Indian states and USA States as well like in the below screenshot

SatyaPaleti_2-1685337311074.png

 

User wants to see only USA States but not Indian states. 

I am using following formula Pick(Match(Country,'USA'),State)  but when we use this formula, we are unable to make selections on the state. 

Could some one please help me how to resolve this issue?

 

Thanks,

Satya 

Labels (4)
1 Solution

Accepted Solutions
vikasmahajan

Hi,

use if statement like :

if ( Country = 'USA',State)

in dimension.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.

View solution in original post

1 Reply
vikasmahajan

Hi,

use if statement like :

if ( Country = 'USA',State)

in dimension.

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.