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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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