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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 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.

October NL Carousel

Fabric Community Update - October 2024

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