Reply
some
New Member
Partially syndicated - Outbound

SEARCH function stopped working suddenly

Hi we have this search function:

kalkPreis = LEFT(NurLagerMitPksID[PKS_ID],SEARCH("∼∼",NurLagerMitPksID[PKS_ID])-1)
 
this function worked online and in desktop until yesterday! now it throws the error, that the searched text can not be found.
we changed nothing here is an example of the data searched:
 
5.08~waXrAghi26phUWb0e6Pc
 
I also tried it with UNICHAR() but that also doesn't work.
The error is thrown for every row.
 
Br
1 ACCEPTED SOLUTION
some
New Member

Syndicated - Outbound

I solved it by copying the symbol from one row. It seems to be a slightly different tilde than the normal one but now it works again.

View solution in original post

4 REPLIES 4
some
New Member

Syndicated - Outbound

I solved it by copying the symbol from one row. It seems to be a slightly different tilde than the normal one but now it works again.

mlsx4
Memorable Member
Memorable Member

Syndicated - Outbound

Hi @some 

 

I don't know if it makes sense but you have two characters here "∼∼" and in the searched value you only have one 

Syndicated - Outbound

Hi, yes I have. When you search for tildes you need to use two. Because the tilde character is the masking charater in the search function 

mlsx4
Memorable Member
Memorable Member

Syndicated - Outbound

Hi @some 

 

It could seem very weird but I tried to rewrite the two tildes within the formula and now works...

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)