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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
nizamsha
Specialist II
Specialist II

restricting the no of records in drop down listbox in straight table

Hi

can any one can guide me

i have 5 field say

name,

number,

address,

city,

country,

its a straight table

i displayed drop down listbox to all the five field

but my question is in city field i have four record say a,b,c,d

i wnt to display only 3 record  in my drop down listbox how can i do .please guide me

1 Solution

Accepted Solutions
nizamsha
Specialist II
Specialist II
Author

=aggr(only({<yStatus={'Won','Lost'}>}yStatus), yStatus

we should use calculated dimension and  also oly function

View solution in original post

3 Replies
sivarajs
Specialist II
Specialist II

write expression as if(city<>'d',city) in your  dimenion

sushil353
Master II
Master II

Instead of taking field in listbox...

take expression and write the code as suggested by sivaraj.

if(city<>'d',city)

HTH

Sushil

nizamsha
Specialist II
Specialist II
Author

=aggr(only({<yStatus={'Won','Lost'}>}yStatus), yStatus

we should use calculated dimension and  also oly function