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, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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