Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet 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 |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 4 | |
| 3 |
| User | Count |
|---|---|
| 19 | |
| 14 | |
| 12 | |
| 10 | |
| 8 |