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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Making a list box ignore a specific selection

Hi all,

I'm sure there's a very simple solution to this, but I can't find one anywhere on here.

Basically, I have a Field (Period) that always has to have a selected value (this must remain the case).

This has not been an issue in other parts of my document as I've been able to use sum({<Period>}.......) to make any sums I've used ignore this selection.

However, I now need to display a Field (Cost Centre Manager Comments) in a list box, and have that ignore the selected value from Period, and I can't use sum as it isn't actually summing anything, it's just displaying the Field data.

Basically I need a list box expression so that this field is displayed , ignoring the specific Period selection (whilst not ignoring any other selections)

Thanks in advance

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create an alternate state (e.g. AltState1) for your Period field, assign the listbox for Period to that alternate state and use in your set analysis expressions Period={AltState1}::Period where you want to use the selection in the Period listbox in the alternate state.


talk is cheap, supply exceeds demand

View solution in original post

3 Replies
shane_spencer
Specialist
Specialist

I use something similar to show the values I want (rather than not show those I don't) using match

i.e.

=if( match(Server,'GBW05041', 'GBW05042'), Server)

n.b. Server is the Field I'm showing and 'GBW05041' and 'GBW05041' are values in that field.

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Create an alternate state (e.g. AltState1) for your Period field, assign the listbox for Period to that alternate state and use in your set analysis expressions Period={AltState1}::Period where you want to use the selection in the Period listbox in the alternate state.


talk is cheap, supply exceeds demand
MK_QSL
MVP
MVP

Better if you provide few line sample data for this question.. ;Thanks