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

Removing values from legends

Hi

I have a bar chart where i dont want some legends to be displayed and their respective value in bar graph.
How do i remove that legend?

1 Solution

Accepted Solutions
er_mohit
Master II
Master II

in dimension side you have to write like this way

=if(Match(fieldname,'a','b'),Null(),fieldname)

make sure check on  supress null value  and write the actual name of field in label side

View solution in original post

4 Replies
shree909
Partner - Specialist II
Partner - Specialist II

Hi,

When u goto the properties of a barchart, select the tab expressions

in the tab at the extreme bottom right u find the  option  "expression as legend"

when u uncheck that u wont find the legends.

if u dont want to  show the valueson the bar chart on the same tab

"uncheck the  values on datapoints"

Hope this helps

Thanks

Not applicable
Author

Hi Hitesh,

You can go to properties of Bar chart and select Dimensions .After selecting the particular dimension you can uncheck the legend button for the same.Legend will disappear from the chart.

For Value Select Expressions from properties and uncheck the Values on Data Points button.

Hope this helps.

Thanks,

Vaneet

Not applicable
Author

Hi guys,

You misunderstood the question...

i dont want some legends from list of legends.

example:

suppose there are 5 legends (a,b,c,d,e)

from this list i dont want a and b to be displayed on bar graph.

er_mohit
Master II
Master II

in dimension side you have to write like this way

=if(Match(fieldname,'a','b'),Null(),fieldname)

make sure check on  supress null value  and write the actual name of field in label side