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

Weird problem need help

I don't now if it is a bug.

 

Cut a long story short.

Lets look to the below screenshot.

DataPreview.png

I have a column named as Hisse. Power BI read the column lenght wrong. There is no space or another character before or after the text but it looks like 1 character more than its normal lenght.
Because of that i can't make any join with this column.

Lets check the pbix. The datasource is web. Anyone can reach.
Link

1 ACCEPTED SOLUTION
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous 

 

Assuming Column Hisse just have letters "A-Z", try this new custom column

=Text.Length(Text.Select([Hisse],{"A".."Z","a".."z"}))

Regards
Zubair

Please try my custom visuals

View solution in original post

3 REPLIES 3
Zubair_Muhammad
Community Champion
Community Champion

Hi @Anonymous 

 

Assuming Column Hisse just have letters "A-Z", try this new custom column

=Text.Length(Text.Select([Hisse],{"A".."Z","a".."z"}))

Regards
Zubair

Please try my custom visuals
Anonymous
Not applicable

it is working thank you for your help.

But i couldn't understand the problem. What is changing with this formula ? Why we need it ?

@Anonymous 

 

There are some characters that are not visible that are not trimmed or cleaned by PowerQuery's functions

for example try this new custom colum

=Character.FromNumber(32)

Then check the length of this column


Regards
Zubair

Please try my custom visuals

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.