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
jimb1955
Frequent Visitor

How can I filter on close date, but ensure any incidents still open are not filtered?

This works great but also filters out any ticket that could be blank or pending or in work as such but we need to keep those tickets.

The file has several years worth of data and were trying to shrink it down.

 

#"Filtered Rows" = Table.SelectRows(#"Removed Columns", each [Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0))

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@jimb1955 , Either create a column or try script like

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) and  [Status] <> "Closed"

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) or  [Status] = "Open"

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) or [Date Closed UTC]  = null 

View solution in original post

jimb1955
Frequent Visitor

Thank you that worked great.

View solution in original post

2 REPLIES 2
jimb1955
Frequent Visitor

Thank you that worked great.

amitchandak
Super User
Super User

@jimb1955 , Either create a column or try script like

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) and  [Status] <> "Closed"

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) or  [Status] = "Open"

 

[Date Closed UTC] > #datetime(2020, 6, 30, 0, 0, 0) or [Date Closed UTC]  = null 

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.