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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Use a Description as a dimension but aggregate by unique id

Hi

Apologies if this is very simple. I have a unique id column and a description column (company name) which may not be unique. I want to display the company names as a dimension on a chart but ensure that if 2 companies have the same name their measures e.g. turnover are not summed together and treated as 1 value, thus I want to aggregate using the unique identifier.

Many Thanks

Paul

2 Replies
prieper
Master II
Master II

Easiest way might be to use a calculated dimension like
Name & ' (' & ID & ')'

Peter

johnw
Champion III
Champion III

That's what I do, or more accurately, when names are not unique, I just add the ID to the name field. After all, if two companies have the same name, you still need to be able to distinguish between them in SOME way.