This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
Hi.
How do I accomplish - using M - excluding all strings that begin with "xyz", "ab", any number, etc.
It would be something like =Table.SelectRows(#"last step", each Text.StartsWith([column], "") = false ) ?
Inserting false would exclude all the values? But how do I replace "" with a list of values?
Thank you!
Solved! Go to Solution.
Hi @GoingIncognito ,
You could use IF() and or/and to return your expected result.
Here is the similar case for your reference.
Hi @GoingIncognito ,
Has your problem been solved? If the problem has been solved, you could accept the reply you like.
Hi @GoingIncognito ,
You could use IF() and or/and to return your expected result.
Here is the similar case for your reference.
Hi @GoingIncognito , try this
https://community.powerbi.com/t5/Service/List-as-input-criteria-for-Text-StartsWith/m-p/204257#M2749...
Regards,
pceglie
I did actually look at it before postin a question because I thought my case is such an easy scenario that you could just insert a List.Contains or something in my example and make it work? Or am I completely wrong? Thank you for the link and all!
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 21 | |
| 21 | |
| 21 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 49 | |
| 26 | |
| 25 |