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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors