Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Good afternoon
Does anyone know how I do (what formula I use) to search the fields that have a certain fragment of a text?
For example, I need to know which rows in the "Description" field of a table have the "ABC" snippet.
DESCRIPTION TEST
ABCX Yes
ABDF No
AGFA No
AFGD No
If I use the IF formula it does not work because it would only search the field that has only the ABC section. But my goal is to know the lines that have this fragment, but not necessarily be ONLY it.
Solved! Go to Solution.
@Anonymous -
This should do the trick for you:
Column =
SWITCH (
TRUE (),
FIND (
"ABC",
Table1[Description],
1,
0
) = 1, "YES",
"NO"
)
Proud to be a Super User!
@Anonymous -
This should do the trick for you:
Column =
SWITCH (
TRUE (),
FIND (
"ABC",
Table1[Description],
1,
0
) = 1, "YES",
"NO"
)
Proud to be a Super User!
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 22 | |
| 21 | |
| 13 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 45 | |
| 45 | |
| 30 |