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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.