March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I am trying to write a Select.Rows function in PowerBI Desktop using the Text.Contains function, as I want it to filter out everything except values in the column that contain certain text strings. I am trying to use the OR statement but it is not recgonising it.
This is what I believe should work but is it not, please help!!
= Table.SelectRows(#"Grouped Rows", OR(each Text.Contains([name], "Salesperson"), each Text.Contains([name], "Price"), each Text.Contains([name], "Item"), each Text.Contains([name], "Date"), each Text.Contains([name], "Status")))
Solved! Go to Solution.
@theapengelly , Try like
= Table.SelectRows(#"Grouped Rows", (each Text.Contains([name], "Salesperson"), each Text.Contains([name], "Price") or Text.Contains([name], "Item") or Text.Contains([name], "Date") or Text.Contains([name], "Status")))
@theapengelly , Try like
= Table.SelectRows(#"Grouped Rows", (each Text.Contains([name], "Salesperson"), each Text.Contains([name], "Price") or Text.Contains([name], "Item") or Text.Contains([name], "Date") or Text.Contains([name], "Status")))
Thank you, this worked!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
87 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |