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

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

Show duplicates in multi- or listbox?

Hello,

In my data I have a table Promotion and Promotion1.

I have a distinct count of 171 on Promotion1 that contains the ID of the promotions.

And I have a distinct count of 115 on Promotion that contains the name of the promotion, because some sales have the exact same name.

Since listboxes and multiboxes give a distinct list of the promotions, I'm wondering how I can show a full list of promotion in my multibox. I'd like to show my 171 promotions, even the ones like "Hot Summer Sales" that occur twice or more in the table (but wth different IDs!). When I order by Promotion1 I should be able to see which one is the correct one.

Is this possible in a multbox?

Thanks in advance,

Jens

1 Solution

Accepted Solutions
Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Jens,

in order to show all Promotions, including duplicated names, you should make them unique. You can do it in two ways:

1) Concatenate PromotionID and Promotion Name into a single field, and then duplicate names will be listed with different IDs This way, you will be able to distinguish between the duplicates more easily.

2) Create a DUAL value with the text containing Promo Name and the number containing Promo ID. This way, the value looks the same as the Promo Name, with no ID being visible, and yet the actual values are unique due to the unique IDs.

cheers,

Oleg Troyansky

Learn advanced QlikView and Qlik Sense techniques in my book QlikView Your Business

View solution in original post

3 Replies
krishnacbe
Partner - Specialist III
Partner - Specialist III

Hi,

Both Listbox and multibox will show only distinct values. If you need you can enable the Frequency. So that you can see how many occurrence has that particular value.

Oleg_Troyansky
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Jens,

in order to show all Promotions, including duplicated names, you should make them unique. You can do it in two ways:

1) Concatenate PromotionID and Promotion Name into a single field, and then duplicate names will be listed with different IDs This way, you will be able to distinguish between the duplicates more easily.

2) Create a DUAL value with the text containing Promo Name and the number containing Promo ID. This way, the value looks the same as the Promo Name, with no ID being visible, and yet the actual values are unique due to the unique IDs.

cheers,

Oleg Troyansky

Learn advanced QlikView and Qlik Sense techniques in my book QlikView Your Business

Anonymous
Not applicable
Author

The first suggestion fixed my problem and now I'm trying again to test the second. Many thanks.