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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ranjan1701
Frequent Visitor

how to create a slicer to filter a pivot table in visual to filter blank values in multiple columns

Hi,

 

I have a pivot table visual  something like this in my Power BI report :

 

Issue IdIssue DescReported DateAssigned DateWork Started DateWork completed date
 1Netwok fail 01/01/2017
02/01/2017
nullnull
 2 CPU
01/03/2017
04/03/2017
06/03/2017
null
 3 Intranet
01/02/2017
03/01/2017
04/01/2017
06/01/2017
 4 Hardware
01/04/2017
nullnullnull

 

I want a slicer so that user can filter out table containing null values in different date columns. (*only one slicer)

Can anyone give idea how to achieve that ?

Thanks in advance Man Tongue

1 ACCEPTED SOLUTION
dilumd
Impactful Individual
Impactful Individual

Hi,

 

If so you can use this formula,

 

Blank New = IF(ISBLANK(SlicerHelp[Assigned Date]),"Assign Date Blank",IF(ISBLANK(SlicerHelp[Work Started]),"Start Date Blank",IF(ISBLANK([Work Com Date]),"Comp Date Blank","Non Blank")))

 

New.JPG 

View solution in original post

3 REPLIES 3
dilumd
Impactful Individual
Impactful Individual

Hi,

 

You can create a new column using IF and ISBLANK function and the use it as a slicer. (if the behavior is the same as above data set you can use below function)

 

Remember you have to create a column if you want to use it as a slicer.

Blank = IF(ISBLANK(SlicerHelp[Work Com Date]),"Blank Raws","Non Blank")

 

Screenshot.JPG

Thanks for your suggestion.In this way, I have to add different slicer for each column, but I am looking for a way to include all the columns in same slicer for filtering.

dilumd
Impactful Individual
Impactful Individual

Hi,

 

If so you can use this formula,

 

Blank New = IF(ISBLANK(SlicerHelp[Assigned Date]),"Assign Date Blank",IF(ISBLANK(SlicerHelp[Work Started]),"Start Date Blank",IF(ISBLANK([Work Com Date]),"Comp Date Blank","Non Blank")))

 

New.JPG 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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