Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to remove values ​​from a list box

Hi,

I have a list box called Requests. In this list box, there are values ​​that I want to delete to exclude them from the analysis. I enclose a picture that shows the values ​​that I want to delete. How can I do?


IMG.JPG.jpg


thank you very much
Carlo

6 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Nella listbox, nella finestra "Campo" seleziona la voce "Espressione" e scrivi:

If(IsNum(MyField), MyField, Null())

Ovviamente cambia MyField con il tuo campo

Fammi sapere

sudeepkm
Specialist III
Specialist III

if you want to remove those values from Data Model then use where clause in your load script.

If you just want to remove them from the List Box then use an expression in the List Box instead of the Field name itself.

Not applicable
Author

Alessandro ho provato la tua espressione ma viene cancellato completamente il contenuto della casella di testo . Ti ringrazio comunque per la risposta. Non c'è un altro modo? non posso selezionare direttamente  i valori che voglio cancellare?

alexandros17
Partner - Champion III
Partner - Champion III

Ciao Carlo,

nell'esempio mostri una serie di valori da escludere (in verde) ma i valori giusti quali sono ?

Io pensavo fossero numeri (infatti ho utilizzato IsNum()),

Dammi un esempio dei valori da includere in modo da elaborare una logica di visualizzazione

Ciao

Jason_Michaelides
Luminary Alumni
Luminary Alumni

I don't understand Alessandro's responses so I'm not sure if this has been answered already...

You could consider bookmarking the selection of the excluded values, then use Set Analysis to reference that bookmark and exclude it:

Sum({-BM01} Sales)

Hope this helps,

Jason

Not applicable
Author

Hi Jason,

Thank you for the advice. It 'a good starting point. Thanks to your response I select values ​​from eslcudere from my analysis. In any case I'll try to make an expression that I can solve the problem.

thank you very much

Carlo