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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
hdbavda
Frequent Visitor

Column Filter for PowerBI Table

Hi,

 

I am attempting to display a set of documents from a SharePoint source into PowerBI. Some of the documents have expiration dates, and some are just "null" values. I am trying to hide the expired documents with the logic -- when an expiry date of a document is less than today, hide the document. But please note that I would like the null value docs to also display. I have tried using expiration date filters but so far been unsuccessful. Any guidance/help would be highly appreciated. Thank you

 

HD

1 ACCEPTED SOLUTION
christinepayton
Super User
Super User

You could add a calculated column that flags the items you want to display. You can use an if-statement with an "or" (|| is "or" in DAX) that says if the field is greater than today date OR is blank, return true, else false (or use 0/1 as returns). Then you can use that in the filter. 

View solution in original post

1 REPLY 1
christinepayton
Super User
Super User

You could add a calculated column that flags the items you want to display. You can use an if-statement with an "or" (|| is "or" in DAX) that says if the field is greater than today date OR is blank, return true, else false (or use 0/1 as returns). Then you can use that in the filter. 

Helpful resources

Announcements
FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.