Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

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

1 ACCEPTED SOLUTION

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.

KNP_0-1638292165321.png

KNP_1-1638292317201.png

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

 

KNP_2-1638292383092.png

 

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.

KNP_4-1638293487783.png

 

 

KNP_3-1638293407045.png

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

View solution in original post

3 REPLIES 3
KNP
Super User
Super User

Can you post an example screenshot of what you're seeing?

And maybe some data?

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!
Anonymous
Not applicable

Rm666652_0-1638261837423.png

Its just a simple graph, I want to hide lables with 0 and keep the rest. Hiding values that are 0 doesnt work because it also removes the dates, which I want to keep.

 

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.

KNP_0-1638292165321.png

KNP_1-1638292317201.png

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

 

KNP_2-1638292383092.png

 

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.

KNP_4-1638293487783.png

 

 

KNP_3-1638293407045.png

 

 

Have I solved your problem?
Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;).
xOIEmaj

If you found this post helpful, please give Kudos.
It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen.
If you find my signature vaguely amusing, please give Kudos.
image
fabric-SUbadge
Proud to be a Super User!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors