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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Turbo_Vaughan
New Member

Filter criteria with OR on multiple columns

Hi, I'm very new with PowerBI, so please treat me as a complete newby. I'm sure this is easy but I'm scratching my head here.

 

I need to filter a table of orders to show only orders where [status] is not "C" (i.e. current, not completed orders) OR [completion_date] is in the last 6 months. When I filter status using the column header, obviously all "C" status items are filtered out. The question is how to apply an OR filter criteria across the two columns.

 

Thanks for any help. 

1 ACCEPTED SOLUTION
Turbo_Vaughan
New Member

OK, I had a play around and got there quite quickly:

= Table.SelectRows(scheme_bmwohm, each ([status] <> "C" or Date.IsInPreviousNMonths([completion_date], 6)))

Should have had more confidence to start with.

View solution in original post

1 REPLY 1
Turbo_Vaughan
New Member

OK, I had a play around and got there quite quickly:

= Table.SelectRows(scheme_bmwohm, each ([status] <> "C" or Date.IsInPreviousNMonths([completion_date], 6)))

Should have had more confidence to start with.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors