Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
mhmmd_srf
Creator II
Creator II

Getting Duplicate Description in List

Hi All,

I have Fact table is joined with Dim table on two fields. Item_Key and Product Group Major.

Dim_Item has Group Major Description.

If we put in simple List Box. I am getting two valid value for Description.

But if i make a Table Box using same fields, I am getting one extra records against all ProductGoupMajor code.

I am not getting this. How to resolve?

Please help.

Thanks,

Sarif

12 Replies
PrashantSangle

Hi,

Remove synthetic key by creating composite key.

then add composite key in table box

or

Using existing data model in your table box add ProductGroupMajor and Item_key Field.

Provide snip after adding above 2 fields.

Regards,

Prashant

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
muthukumar77
Partner - Creator III
Partner - Creator III

May be like this,

Com_fact:

Load

  Item_Key & Product Group Major as key,

  Item_Key ,

Product Group Major

.

.

from Com_Fact;


Dim_Item:

Load

  Item_Key & Product Group Major as key,

.

.

from Dim_Item;



Muthukumar Pandiyan
mhmmd_srf
Creator II
Creator II
Author

Hi Prashant,

Below is the snip after adding Item_Key:

Please help.

Thanks,

Sarif

PrashantSangle

So you can see due to item key  in you synthetic key you are getting 2 Group description..

confirm what is your key on which you need to associate table.

Regards,

Prashant

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
mhmmd_srf
Creator II
Creator II
Author

If I use composite key it is coming like this:

Please help.

Thanks,

Sarif

Not applicable

Hi Mohammad,

It is not best idea to use field which acts as a key in table (in your example you are using ProductGroupMajor). And doesn't matter if it is part of synthetic key or not.

In your case as they write before you should first avoid synthetic key by creating new field:

[Item_Key]&'_'&[ProductGroupMajor] as %Key

But of course you should remember to comment or rename fields Item_Key and ProductGroupMajor in one of the tables. And best approach is not to use field %Key in charts or tables.

BR,

Milosz

mhmmd_srf
Creator II
Creator II
Author

No sir,

I do not have any synthetic now. See this

Thanks,

Sarif

mhmmd_srf
Creator II
Creator II
Author

Hi Pranshant,

But using Composite Key also we are not able to resolve the issue.

Please help.

Thanks,

Sarif

PrashantSangle

Issue is not in key.

Please confirm, Is Item_key is part of Synthetic key.???

If yes then check GroupDescription is available for those combination in your source data.

Regards,

Prashant

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂