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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
smothry
Frequent Visitor

Modify unmatched relationship result from "(Blank)" to custom string in Slicer

Scenario:

I have a few multi-column data tables that have a common column for filtering. Let's call this column pallet number. I have a separate table, let's call it full pallet list table, that has a column that is a list of pallet numbers that may be in any of these other tables...and then some, and maybe one other column which is an attribute I'd like to slice by (the slicer column).  The full pallet list table is linked via a 1 to many relationship to each of the data tables so that I can use a slicer from the pallet list table to slice all of the data tables by their pallet columns at once. 

 

Problem: 

There are pallet values in the full pallet list table that are not in any of the data tables therefore the slicer has an option for "(Blank)" which is basically anything that isn't joined through the 1 to many relationship. I want the slicer to display a custom string in place of "(Blank)". How do I do this?

 

Any help is greatly appreciated!

1 REPLY 1
some_bih
Community Champion
Community Champion

Hi @smothry I understand that two scenario could lead to blank rows

1. Real blank row - like no item line populated in column Pallet_Number or

2. column Pallet_Number is populated but this number is  missing in the table with all ListOfPalletNumber

This blank is due to relationship

 

Possible solutions: create two calculated columns as below. 

SlicerFormulaRealBlank =
IF (
    ISBLANK ( FactTable[Pallet_Number] ),
    "This is Real blank row in column Pallet_Number",
    FactTable[Pallet_Number]
)
 
SlicerBlankAsNoNumberInListOfPalletNumber =
IF(ISBLANK(RELATED(ListOfPalletNumber[PalletNumber])),"This is blank row - relationship",FactTable[Pallet_Number])




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!






Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.