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

How to merge 2 pie charts into 1?

How do I merge these 2 charts and retain the same count value?

So i have a chart that comprises of all 4 countries? thx!

top chart expression

COUNT ( {$ <REGION_CODE = {'SG'} > } STUD_ID)

bottom chart expression

COUNT ( {$ <REGION_CODE -= {'SG'} > } STUD_ID)

piecharts.JPG.jpg

4 Replies
tresesco
MVP
MVP

May be  simply like : =Count(STUD_ID)

jagan
Luminary Alumni
Luminary Alumni


Hi,

Just use this expression

=COUNT (STUD_ID)

Regards,

Jagan.

Not applicable
Author

Hi,

You expect all four correct then why go for set analysis if there is only four region code then try what tresesco suggest

Or else there is some other code also there but you need the only four region then use the below one

COUNT ( {$ <REGION_CODE = {'SG','JA','PH','VN',} > } STUD_ID)

Not applicable
Author

There is no necessity to go for Set Analysis you can use the simple expression

=Count(Stud_Id) that would suffice your need.

Thanks