cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jude_c Frequent Visitor
Frequent Visitor

Is there a way to rename the 'Blank' value in a slicer?

While I actually do need the "(Blank)" value in my slicer, I'd like to change its name to something like "Unknown" for my application. Does anyone have any ideas?

Much thanks, in advance.

-Jude C.
1 ACCEPTED SOLUTION

Accepted Solutions
v-xjiin-msft Super Contributor
Super Contributor

Re: Is there a way to rename the 'Blank' value in a slicer?

Hi @jude_c,

 

I'm afraid that there's no way to rename the '(blank)' value on the front-end slicer side. All you can do is to replace the blank value at source data side.

 

Thanks,
Xi Jin.

View solution in original post

9 REPLIES 9
Super User
Super User

Re: Is there a way to rename the 'Blank' value in a slicer?

The reason you have a blank is there is Data in the table on the many side of the relationship that has no matching record in the table in the one side of he relationship. To solve this, add the missing records to the one side table and give them any name you like. 



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.
Highlighted
jude_c Frequent Visitor
Frequent Visitor

Re: Is there a way to rename the 'Blank' value in a slicer?

Thanks, Matt. Is there any way to do this purely on the front-end? The thing is I essentially want this to be a catch-all for all of those records whose column X doesn't match another table's records for column X, and I'd like to do this at scale.

 

LMK. I think the user group would be comfortable with simply using '(Blank)'. I'm just trying to make it all more intuitive.

 

Hope you're having a nice night/morning(?).

 

-Jude C.

BhaveshPatel Super Contributor
Super Contributor

Re: Is there a way to rename the 'Blank' value in a slicer?

Hi @jude_c,

 

There are many ways you can use to change the blank values depending on where your source data is flowing from.

The handy way I use is to use the Replace Values in the Query Editor to change the name to Unknown instead of Blank Values.

 

 

Thanks,

Bhavesh

 

 

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.
jude_c Frequent Visitor
Frequent Visitor

Re: Is there a way to rename the 'Blank' value in a slicer?

Just a quick qualification, all: I'm trying NOT to use the Query Editor for this purpose, because I'm looking for the remainder between columns of two very large tables, and the range of values within that remainder could vary widely. I just want to be able to rename the '(blank)' value on the front-end slicer to something a little more intuitive to the user.

 

Let me know. Hope you're having a great weekend.

 

-JC

v-xjiin-msft Super Contributor
Super Contributor

Re: Is there a way to rename the 'Blank' value in a slicer?

Hi @jude_c,

 

I'm afraid that there's no way to rename the '(blank)' value on the front-end slicer side. All you can do is to replace the blank value at source data side.

 

Thanks,
Xi Jin.

View solution in original post

PaulDBrown Senior Member
Senior Member

Re: Is there a way to rename the 'Blank' value in a slicer?

@jude_c

 

Probably not ideal, but how about duplicating the column in query editor (or as a calculated column), replacing the blank values with some other useful text, and use this column in the slicer, and the original column for calculations?

Clumsy, I know, but...

jude_c Frequent Visitor
Frequent Visitor

Re: Is there a way to rename the 'Blank' value in a slicer?

I'm accepting this as the solution, since it's conclusive about what's actually possible. Thanks. -Jude C.

PhilipS Frequent Visitor
Frequent Visitor

Re: Is there a way to rename the 'Blank' value in a slicer?

I used something like this in Modelling...

 

CompanyTypeLabel = IF(ISBLANK(LOOKUPVALUE(gap_type[gap_label],gap_type[gap_value],new_accountset[CompanyTypeValue])),"Business",LOOKUPVALUE(gap_type[gap_label],gap_type[gap_value],new_accountset[CompanyTypeValue]))
 
I've changed some of the field names involved, but it should be obvious what I've done.
Super User
Super User

Re: Is there a way to rename the 'Blank' value in a slicer?

Hi @jude_c et al.  Sorry I didn't get back to this post.  I see a lot of different ideas about how to fix this.  I want to put forward my view for your consideration.  I have created a blog article and video showing how I recommend you fix this.  You can see it here => Remove Blanks in Slicers in Power BI



* Matt is a Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 500 members 3,779 guests
Please welcome our newest community members: