Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
eduardo_dimperio
Specialist II
Specialist II

Pie chart by sum Id

Hi,

I have two fields "ID" and "Code_Desc", the ID field its not unique. How do I show the amoung of IDs that have a Code description in a Pie Chart?

 

Labels (1)
1 Reply
Mauritz_SA
Partner - Specialist
Partner - Specialist

Hi @eduardo_dimperio 

Not sure if I understand your question right, but if you have the following table:

LOAD * INLINE [
ID, Code_Desc
1,A
1,B
2,C
2,D
3,B
4,A
];

Then you can get the following Pie chart:

Pie.PNG

By having the following in your Pie chart settings:

Dimension -> Code_Desc

Measure -> Count(ID)

Appearance -> Value Labels -> Custom -> Values

Hope this helps.

Mauritz