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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Use of ONLY-function

Hi all,

I am trying to accomplish something similar than listed here http://community.qlik.com/thread/23994;

use expression to filter the value 'On hold' away from a listbox displaying StatusName.

Based on the examples listed at the link I tried

=Only({<StatusName-={'On hold'}>}StatusName)

AND

=Only({<StatusName={'*'}-{'On hold'}>}StatusName)

but they did not work. In fact, after the change the listbox displays only its caption - no values at all.

Can you think of something that is wrong in my approach?

Thanks,

Juho

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

What are you trying to do? Do you want to hide one value in a listbox? If so try as expression =if(StatusName<>'On hold',StatusName)

If not please post an example.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

What are you trying to do? Do you want to hide one value in a listbox? If so try as expression =if(StatusName<>'On hold',StatusName)

If not please post an example.


talk is cheap, supply exceeds demand
Anonymous
Not applicable
Author

Just what I wanted to do, thanks!