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
PZUDGW
Helper I
Helper I

No results on ETL-filtering

I like to filter a column. The text in the column "NAME" must contain either "kale" of "iah". I get no results on the next formula:

 

= Table.SelectRows(MRPMCCONTRACTLINES1, each Text.Contains([NAME], "iah") or Text.Contains([NAME], "kale"))

 

What goes wrong?

 

Gr. Patrick

 

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @PZUDGW ,

 

I created a sample file and test it with your m query. The result is correct.

2-1.PNG2-2.PNG

You could check if "MRPMCCONTRACTLINES1" step has correct values you need and if your each two conditions will return correct results. 

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
HotChilli
Super User
Super User

Syntax looks OK.

Did you write the code yourself or use the Text Filter on the column dropdown? (Using the Text filter should guarantee correct column names and syntax)

 

I suggest testing with only 1 condition and see if that works first, then introduce the OR with the other clause.

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.