Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Hide labels if 0

Hi all,   Is there a way to hide labels in a graph when the data is 0? Without removing the x axis months for example?   Thanks
  • KNP's avatar
    KNP
    4 years ago

    I recreated your scenario.

    If you turn your 0 into null you should no longer have the problem. It is often better to have these as null for calculation/performance reasons.

    If you do this, you do need to remember to turn on the 'Show items with no data' option.

     

     

    If changing 0's to null is not an option for you, you could mess with this formatting option to make values < 1 to have formatting the same colour as the background. You'd need to turn off the label background. I'm having a few issues getting this working at the moment. Not sure if it is a little buggy.