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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
sivarajs
Specialist II
Specialist II

listbox expression

Hi,

I am trying to show few columns in listbox based on product code as key column.I am using maxstring in expression to fetch values. Because of this keyword am getting only one row out of 10 values to a single product code.Is there any keyword or any ways where i can show all the values in listbox.


Also i need to select only one row at a time.

Regards,

Sivaraj

8 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Why do you need those columns in a listbox? Can't you use a Table Box object instead? That way you won't need to mess around with expressions.


talk is cheap, supply exceeds demand
sivarajs
Specialist II
Specialist II
Author

As i mentioned, the user need to select only one row at a time. In listbox we have check option, so i used  it.

sivarajs
Specialist II
Specialist II
Author

gysbert, anyway to achieve this?

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Nope. Use a listbox for selecting, use a table box for showing the other columns.


talk is cheap, supply exceeds demand
tresesco
MVP
MVP

Kind of work around(with obvious limitations) could be like attached sample qvw?

Anonymous
Not applicable

Hello,

I have loaded  thousand of records using Load script. I created a List Box and it shows all the thousand distinct values as below screen

LEGETYNACE-LISTBOX.PNG

Now i want filter and display only 6511001,6511002,7511001 and 7511006.

I went  properties of list box and wrote the expression  as below

ListBox-Expression.PNG

I see the matching values besides the value and rest all not matched has '-'. I want to see only match values in the list box.

Please see below the values i see as :

Listbox-Output.PNG

I want to see only Matching value and rest all should be hidden.

Appreciate your help.

Regards,

Paul

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You created the expression on the Expressions tab. Now create it instead after selecting <Expression> in the field selector on the General tab.


talk is cheap, supply exceeds demand
Anonymous
Not applicable

Thank you so much.

Regards,

Paul