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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.