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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

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

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.