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
qmestu
Helper III
Helper III

Replacing default text for blank

Hi,

 

In one of my dashboards, when i choose a combination of values in slicers some of my measures display "blank". While this is correct, because there aren't any values for some combinations, would it be possible to change the default of blank to something else?

 

Thanks.

1 ACCEPTED SOLUTION
DOLEARY85
Super User
Super User

Hi,

 

You should be able to achieve this by wrapping the measure in an if statment. e.g.

 

if(isblank(Your measure),"Whatever you want the value to be",Your Measure)

 

Here's a live example:

 

Measure 5 = if(isblank(CALCULATE(sum('Table (8)'[column2]),value('Table (8)'[Column1])=01/04/2023)),"There are none",CALCULATE(sum('Table (8)'[column2]),value('Table (8)'[Column1])=01/04/2023))
 
DOLEARY85_0-1682158825595.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

View solution in original post

2 REPLIES 2
Ahmedx
Super User
Super User

pls try this

= COALESCE([Measure],"Not Supplied" )
-----
replace this [Measure] with your measure
DOLEARY85
Super User
Super User

Hi,

 

You should be able to achieve this by wrapping the measure in an if statment. e.g.

 

if(isblank(Your measure),"Whatever you want the value to be",Your Measure)

 

Here's a live example:

 

Measure 5 = if(isblank(CALCULATE(sum('Table (8)'[column2]),value('Table (8)'[Column1])=01/04/2023)),"There are none",CALCULATE(sum('Table (8)'[column2]),value('Table (8)'[Column1])=01/04/2023))
 
DOLEARY85_0-1682158825595.png

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

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.