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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
fgnavarrete
Helper II
Helper II

Special character that is not White in Column

Dear, I have a problem and it is shown in the image:

My RUT column has the function of being my primary key and has characters that, Power BI does not make me treat it as a white or null to be able to delete. I've tried to replace, clean, trim, try also with LEN and Unicode as to know what type of character it possesses but I didn't succeed.

Please help, as I do not know how to delete all records that meet this condition. Thank you.

fgnavarrete_0-1598673681109.png

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@fgnavarrete - When you say LEN and UNICODE below are using the DAX UNICODE and LEN functions? What does Power Query show when filtering? It is strange that it is zero-length, not blank, and the UNICODE value does not exist. Have you tried:

New Table = FILTER('Table',[RUT]<>"")

O

New Table = FILTER('Table',ISBLANK([RUT]) || LEN([RUT])>0)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Greg_Deckler
Super User
Super User

@fgnavarrete - When you say LEN and UNICODE below are using the DAX UNICODE and LEN functions? What does Power Query show when filtering? It is strange that it is zero-length, not blank, and the UNICODE value does not exist. Have you tried:

New Table = FILTER('Table',[RUT]<>"")

O

New Table = FILTER('Table',ISBLANK([RUT]) || LEN([RUT])>0)



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

@Greg_Deckler I did the filter and it worked, I effectively remove the special characters and now the column has all its correct values, there are no longer special characters.

I turned around solving the subject and it didn't occur to me to make a filter that excludes the values from dysint to ""

Thanks a lot.

fgnavarrete_0-1598713790464.png

@fgnavarrete - Awesome, glad you got that solved. Weird one though!



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

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 MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.