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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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
Solution Supplier
Solution Supplier

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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