Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mario-sarkis
Creator II
Creator II

List box

‌hey all

i have a list box containt field name but in this field i have a "-"  but i dont want to show it

how can i show all the name of this list box except this "-"?

i Dont want to change the field in the script coz my use it for other calculation in the dashboard.

thanks

1 Solution

Accepted Solutions
ali_hijazi
Partner - Master II
Partner - Master II

scroll down to expression where you can put if(your_field <> '-', your_field)

Untitled.png

I can walk on water when it freezes

View solution in original post

6 Replies
sunny_talwar

May be this as your list box expression:

If(FieldName <> '-', FieldName)

mario-sarkis
Creator II
Creator II
Author

‌hi sunny no it didn't work it show another same column

sunny_talwar

Can you show a screenshot of what you are seeing?

ali_hijazi
Partner - Master II
Partner - Master II

scroll down to expression where you can put if(your_field <> '-', your_field)

Untitled.png

I can walk on water when it freezes
mario-sarkis
Creator II
Creator II
Author

‌thank you ali, i thought sunny is telling have to do it in the expression tab not the drop down list

sunny_talwar

Is it working now? If it is, I would request you to close this thread by marking the correct answer.

Best,

Sunny