Show zero value but hide NA

  • Thread starter Thread starter KateB
  • Start date Start date
K

KateB

I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or it
may be that the section is not applicable. Therefore, the calculation will
return either NA (not applicable) or 0%. I want the data labels in the chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate
 
Sorry Luke, I hadn't had notification that anyone had replied!

Its just a simple bar chart. At the moment it has a custom format for the
labels of 0%;;; I didn't know if there was something similar for #NA.

Kate
 
The NA() trick only is relevant to line or XY charts. In a bar chart use
0, since a zero-height bar isn't visible. Your custom number format will
work just fine.

- Jon
 
Back
Top