View the original community article here
Last tested: Mar 31, 2021
There isn’t a native option in the visualization edit panel to toggle value labels on/off for individual series, but please leave feedback for the Looker product team! After authenticating into the feedback portal, you can click here for the open request!
Two other options you can use below:
Solution 1
You can use the "Value Colors" input field to manipulate the coloring of each series by entering color codes or names and comma separating to target series in the order they appear from left to right. If you define the color as "transparent" it will hide the value label for the series! Caveat: "transparent" is only transparent to the underlying graphic, it overlaps with other value labels as "white." If you have overlapping value labels, make sure the series you want with "transparent" value labels is listed last.
Solution 2
Another workaround we can implement is to use the Excel-style formatting in the value format section. For example, if we write
#.00%[>0.05];[<0.05]
This will show the label if its above >0.05 and hide if below 0.05.
Two websites where you can test Excel style formatting are
But Wait, There's More!
If we are trying to show only certain points in a line on a bar chart, we can do some hacky things - like setting the default value of null to a value beneath the base y-axis value (-1, for instance, for the default y-axis). This can remove null value points that we can't otherwise get rid of by using the YesNo/Hide No's from Vis trick, since that hides the entire row where a value is null.
This content is subject to limited support.