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
Anonymous
Not applicable

Trouble Removing Invisible Characters

Greetings! 

 

I am having trouble removing invisible characters. I have tried using the clean/trim function + the REPLACE function but the characters are still there. When I check the length of a row, it is either blank OR 0. This is throwing off my model bc the 0 will not be recognized when I count the number of blank rows. 

 

Any ideas on how I can remove this? Below is a screenshot and link to sample data. 

 

https://github.com/anthonynguyen3/Power-BI/blob/master/SDWCSR%20-%20Sample%20Data.pbix

 

tracknumblanks.png

1 REPLY 1
ElenaN
Resolver V
Resolver V

Hello,

 

Can you maybe use this logic for the len column:

 

LENGTH - WCSR = IF(WCSR[TrackingNumber] = BLANK(), 0, LEN( WCSR[TrackingNumber] ))

Meaning, you can use the comparison of the TrackingNumber column values to Blank() to identify which fields are not completed.

 

If you just want to count the no of blank rows you could try the countblank function.

 

Regards,

ElenaN

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!

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.