cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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 @Anonymous,

 

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.
Anonymous
Not applicable

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 @Anonymous,

 

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.
Anonymous
Not applicable

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 @Anonymous,

 

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

Highlighted
PaulDBrown Senior Member
Senior Member

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

@Anonymous

 

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...

Anonymous
Not applicable

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.

Anonymous
Not applicable

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 @Anonymous 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
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 65 members 1,294 guests
Please welcome our newest community members: