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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

Removing title of a visual when data is blank or N/A

Hi,

I have couple of visuals(gauges, Tachometer, advanced cards, matrix, etc.) in my Dashboard and the problem is that when I don't have data, although the data lables removed, I can't remove the titles of the visuals?

What is the DAX formula for this purpose?

Many thanks for your ideas

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

You will need to use the new conditional formatting titles along with a measure to check for your value being blank.  Something like.

 

IF ( ISBLANK ( [value measure] ), "", "This is my title")

 

I use the "" instead of BLANK() to return and empty string instead of (BLANK)

 

You then use this measure in the conditional format title of your visual.

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-format-visual-titles

View solution in original post

1 REPLY 1
jdbuchanan71
Super User
Super User

You will need to use the new conditional formatting titles along with a measure to check for your value being blank.  Something like.

 

IF ( ISBLANK ( [value measure] ), "", "This is my title")

 

I use the "" instead of BLANK() to return and empty string instead of (BLANK)

 

You then use this measure in the conditional format title of your visual.

https://docs.microsoft.com/en-us/power-bi/desktop-conditional-format-visual-titles

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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