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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
ajin
Helper II
Helper II

How to filter out an item in a slicer?

Hi Guys, 

I need to filter out a item in my date slicer  . I know that if this was a visual it would be easier since visual filter was there .  In the below image i dont want to show blank.  Another option i  saw was that i bring in another slicer and select all values except blank and hide it. Is this the best option available ? 

 

 

Date Slicer.PNG

1 ACCEPTED SOLUTION
PattemManohar
Community Champion
Community Champion

@ajin Pleae try to create a "New Table" with single column "Year" using below DAX (Which will be source for your slicer) and then create a relationship between this new slicer table and the main table (in this case it will be on Year field).

 

TestYear = FILTER(DISTINCT(_DimDate[Year]),[Year]<>BLANK())




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

Proud to be a PBI Community Champion




View solution in original post

1 REPLY 1
PattemManohar
Community Champion
Community Champion

@ajin Pleae try to create a "New Table" with single column "Year" using below DAX (Which will be source for your slicer) and then create a relationship between this new slicer table and the main table (in this case it will be on Year field).

 

TestYear = FILTER(DISTINCT(_DimDate[Year]),[Year]<>BLANK())




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

Proud to be a PBI Community Champion




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors