Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
NavinReddy
Creator II
Creator II

List Box

Dear All,

I have a list box How can i apply filters

Region list box ,How can filter(US,UK,CHINA,INDIA,SINGAPORE)

if(Wildmatch([Region],'US','UK','CHINA','INDIA','SINGAPORE'),[Region])

Im using this but im getting Other Region Values also
Please help me Some one

Thanks In Advance
Niru

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Create a pivot table

Calculated Dimension

IF(Match(Region,'US','UK','CHINA','INDIA','SINGAPORE'), Region)

Tick Suppress When Value is NULL


Expression

SUM(Sales)


View solution in original post

10 Replies
its_anandrjs

Use like take a list box and select Expression and type this code

if(Wildmatch([Region],'US','UK','CHINA','INDIA','SINGAPORE'),[Region])



Hope this helps

MK_QSL
MVP
MVP

IF(Match(Region,'US','UK','CHINA','INDIA','SINGAPORE'), Region)

its_anandrjs

You can create a field from this in load script also like

if(MixMatch([Region],'US','UK','CHINA','INDIA','SINGAPORE'),[Region]) as FilterRegion

Hope this helps

NavinReddy
Creator II
Creator II
Author

But again im getting other values ' - '

like symbol

maxgro
MVP
MVP

like this?

1.png

NavinReddy
Creator II
Creator II
Author

Yes Like the way only,

when i apply filters But im getting

Other than Filter values also

NavinReddy
Creator II
Creator II
Author

Im using this into Dimention limit in Pivot chart

there im getting other than filters also

MK_QSL
MVP
MVP

Create a pivot table

Calculated Dimension

IF(Match(Region,'US','UK','CHINA','INDIA','SINGAPORE'), Region)

Tick Suppress When Value is NULL


Expression

SUM(Sales)


its_anandrjs

Take a list box and type below code in expression

=if(MixMatch([Region],'US','UK','CHINA','INDIA','SINGAPORE'),[Region])

or you can add a field in load script like

if(MixMatch([Region],'US','UK','CHINA','INDIA','SINGAPORE'),[Region]) as FilterRegion

or you can use this in any chart also

Hope this helps