Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
ViorelCa
Helper I
Helper I

Error in FIND/SEARCH function

Dear Colleagues,

 

I have a column that stores emails, called [leadsemail].

 

And a Helper column, called [helper1], that extract the emails from the [leadsemail] column based on a condition:

 

helper1 = if(ISBLANK(TableLeads[opportunityID]),TableLeads[leadsemail])

 

The FIND function works only if I refer to the [leadsemail] column.

 

helper3 = FIND("@",TableLeads[leadsemail])

 

If I refer to the helper1 column, I get an error (although the content of both columns is the same, both text).

 

helper3 = FIND("@",TableLeads[helper1])

 

The error is "The search Text provided to function 'FIND' could not be found in the given text."

 

Thanks a lot!

 

Viorel 

Bucharest

1 ACCEPTED SOLUTION
Datatouille
Solution Sage
Solution Sage

Hi @ViorelCa

 

 

You might have some elements in your helper1 column which do not have any "@" at all.

In that case, Find() function returns an error and is not able to compute the correct calculation for any rows of your helper1 column - even those which actually include the symbol "@".

 

If you add an IfError statement, you will get rid of this error:

=IfError( Find ("@" , TableLeads[helper1] ) , 0 )

View solution in original post

2 REPLIES 2
Datatouille
Solution Sage
Solution Sage

Hi @ViorelCa

 

 

You might have some elements in your helper1 column which do not have any "@" at all.

In that case, Find() function returns an error and is not able to compute the correct calculation for any rows of your helper1 column - even those which actually include the symbol "@".

 

If you add an IfError statement, you will get rid of this error:

=IfError( Find ("@" , TableLeads[helper1] ) , 0 )

Dear Tristan @Datatouille,

 

Your solution worked!

 

Many thanks for the help!

 

Kind regards,
Viorel

 

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors