Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper II
Helper II

Dynamic text for labels for Y axis



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.



Helper II
Helper II

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



Helpful resources

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors