Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
phamensink
Partner - Contributor
Partner - Contributor

Listbox showing non distinct values

I always thought that a listbox in Qlikview showed distinct values, however I have one that doesn't.

Can anyone please explain this?

Knipsel.PNG

5 Replies
sunny_talwar

May be there is extra space that might make the two different. Can you try Trim(%ItemID) as %ItemID in the script?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

The horizontal scroll-bar at the bottom is an ominous sign. What comes at the far right of all those codes? Other text?

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Using an alternative to what Sunny suggested, you could change the listbox field into something like

='[' & %ItemID & ']'

to include start/end-markers.

shiveshsingh
Master
Master

Are there any more values after these 2 strings?

phamensink
Partner - Contributor
Partner - Contributor
Author

Hi Sunny,

Function Trim() did the trick.

Thanks

Paul