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: 
ChanceyJoel
Contributor
Contributor

Combine columns in pie chart or table expression

How do I combine values within the same column? I am creating a sheet on a public app that does not belong to me. I do not think I can access script editor. I think I can only write dimension and measure expressions to modify a table and pie chart.

Animal Trait
Tiger Orange
Bird Orange
Bird Feathers
Tiger Fur

 

I would like to get the above table to look like the table below.

Animal Trait
Tiger Orange, Fur
Bird Orange, Feathers

 

I also want to create the following pie chart:     Orange: 50%, Fur 25%, Feathers 25%

Thank you for the help.

 

Labels (4)
3 Replies
vinieme12
Champion III
Champion III

As below

 

Dimension:

Animal

Measure:

=Concat(Distinct Trait,',')

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Rams-
Creator
Creator

Hi,

You can use:

Dimension: Animal

Measure: Concat(Distinct Trait,',')

and for the pie diagram

Rams_0-1681193936087.png

Hope this helps,

help user find answers ! don't forget to mark  a solution that work for you and click the like button!

 

 

ChanceyJoel
Contributor
Contributor
Author

Do you know how to create the second table?