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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
qmestu
Helper III
Helper III

Dynamic text for labels for Y axis

Hi,

 

In my dashboard i have a visual in which i'm calculating values and representing them in a stacked chart. For these values, i'm only considering when the count of a certain condition is >5, so that values only show up when this condition is met. This works as expected.

 

However, the labels in the Y axis always appear, even if there aren't any values displayed. How can i make sure that the labels aren't displayed when there are no values? I've tried placing the label inside a measure, but i can't place this measure as an axis.

 

Thanks!

1 REPLY 1
JohnShepherdAPD
Helper II
Helper II

Hi there you could try conditional formatting on the axis title:

JohnShepherdAPD_1-1690199725102.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!