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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Display Order

Hi guys,

A bit of a long shot I've got some data stored by colours in a SQL table like this

Amber

Black

Bottle

Burgundy

Is it possible for Qlikview to display them in a field like this within a table?

Amber, Black, Bottle, Burgundy

I want the colours all in one field as opposed to four fields (as they are above). 

Hopefully this makes sense?

Thanks

Labels (1)
1 Solution

Accepted Solutions
swuehl
Champion III
Champion III

Not sure how your setting looks in more details, but if the four values are located in a single field in data model, you can concatenate the values:

=Concat( ColourField, ', ')

View solution in original post

6 Replies
Digvijay_Singh
MVP
MVP

You can use something like Concat(Field,';') Group By DimensionField

swuehl
Champion III
Champion III

Not sure how your setting looks in more details, but if the four values are located in a single field in data model, you can concatenate the values:

=Concat( ColourField, ', ')

pokassov
Specialist
Specialist

You can use function Concat() with sort_weight...

For your colour sort you can add field in model that will be number.

Colour, ColourNum

Amber,1

Black,2

Bottle,3

Burgundy,4


then

concat(distinct Colour, ColourNum)

sunny_talwar
MVP
MVP

To continue with the two responses above me, if you want them in a table. Create a table with 1 as dimension and use Concat(ColorField, ',') as an expression.

Not applicable
Author

In Chart Properties - Sort - Dimensions - Sort by Expression

=match([Dimension], 'Amber','Black','Bottle','Burgundy')

Anonymous
Not applicable
Author

That works brilliantly..

Thanks for your help guys!