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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

November Carousel

Fabric Community Update - November 2024

Find out what's new and trending in the Fabric Community.

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.