Cheat Sheets/Power BI/SEARCH / FIND
DAX function

SEARCH / FINDDAX function reference

Position of a substring.

Syntax

dax
SEARCH(<find_text>, <within_text>, [<start_num>], [<NotFoundValue>])    FIND(<find_text>, <within_text>, [<start_num>], [<NotFoundValue>])

Examples

dax
SEARCH("@", [Email], 1, BLANK())
A number
dax
IF(SEARCH("Pro", Product[Name], 1, 0) > 0, "Pro line", "Standard")
Flags products whose name contains "Pro", case-insensitively

Checks for a dash using the case-sensitive FIND instead of SEARCH.

dax
FIND("-", Product[SKU], 1, 0) > 0
true / false

Common mistakes & gotchas

Related DAX functions

From Text

Used in these tutorials

← Back to the Power BI (DAX) cheat sheet