Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Hi @PZUDGW ,
I created a sample file and test it with your m query. The result is correct.
You could check if "MRPMCCONTRACTLINES1" step has correct values you need and if your each two conditions will return correct results.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 7 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 24 | |
| 15 | |
| 13 | |
| 12 | |
| 9 |