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

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

11 REPLIES 11
BhaveshPatel
Community Champion
Community Champion

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

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

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





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






When trying to avoid increasing query load time, this is the solution. In the transaction table, you can do a calculated column with LOOKUPVALUE() to the dimension and if ISBLANK() then, add "XXX" or -1, else use the returned value. On the dimension side, you will want to append a row in Power Query (not expensive for performance) with "XXX" or -1 as the key and "Unknown" as the displayed value. 

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.

This method is exactly what I needed.  Works great! Thanks!

 

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

Anonymous
Not applicable

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

Anonymous
Not applicable

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.

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

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.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors