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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
BoXiangWang
Contributor III
Contributor III

How to remove unrelated legend from a chart?

Hi all,

I have a bar chart and I only show one year at a time. Capture like below:

BoXiangWang_0-1740106678473.png

Here in this year the stacked bar chart only has one kind of category, but the legend is still showing other non-related categories. How can I only show related ones? Thanks!

 

Labels (3)
1 Reply
Ben_P
Creator II
Creator II

First you could try hiding zero values. In Qlik Cloud this is under Add Ons > Data Handling.

If that doesn't work, you could just remove the legend, and maybe replace with labels either on the bars themselves or on the x-axis.

Ticking to suppress nulls on your dimension is another common technique, but I don't think that applies here.

Ben_P_0-1740128288304.png