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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.