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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi there,
I am trying to narrow down a list using a couple of criteria using Text. Contains I have used the below formula but no luck so far
= List.Select(Custom2, each Text.Contains(_,"Project"),and Text.Contains(_,"Books"))
Solved! Go to Solution.
Hi, replace comma with space over here
"Project"),and
as an option consider this line of code
= List.Select(Source, (x) => List.Contains({"Books", "Project"}, x, (w, z) => Text.Contains(z, w)))
thanks a lot, the initial solution brought a blank list but when I changed "and" to "or" it totally worked.
Hi, replace comma with space over here
"Project"),and
as an option consider this line of code
= List.Select(Source, (x) => List.Contains({"Books", "Project"}, x, (w, z) => Text.Contains(z, w)))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |