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
Yani
Regular Visitor

How to make specific filter?

Hi, 

in one of my report, i have data table with some filters and i try to make another filter based on a type date field. I try to show in this filter two "checkbox" where we can chose beteween "empty" or "not empty".As you can imagine, empty is to show only lines with no date and the other one is to show lines with date. 

 

is someone have an iade about how to make it? 

 

thank you. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hello @Yani,

 

Make a column

 

Date_Filled = IF([date] <> Blank(), "not empty", "empty")

 

Now put a slicer on this column

 

Adarsh

Mark my post as a solution if it solves your problem.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hello @Yani,

 

Make a column

 

Date_Filled = IF([date] <> Blank(), "not empty", "empty")

 

Now put a slicer on this column

 

Adarsh

Mark my post as a solution if it solves your problem.

Thank you for the answer. That's work very well!

novilpawar
Advocate I
Advocate I

@Yani hi

Go to this link, you will have an idea to solve your problem.

note:- you have to create 2 measures with filter one without blank and one with blank (no date).

https://community.powerbi.com/t5/Desktop/Slicer-for-replacing-one-column-for-another/m-p/732579#M353...

 

Regards,

Novil

If I answer you question, please mark my post as solution.

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.