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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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