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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
elaj
Helper IV
Helper IV

How to get rid of some kind of string autocorrection, while loading data from powerquery into model

Hi,

 

i have data wich looks like:

image.png

notice the difference with the capital F.

i load this dataset into powerquery as a csv.. and everything looks fine..

but when i load it into the datamodel.. somehow PowerBI is transforming the capital F into a lowercase f.

This is really annoying, because i dont want it to. These are two different things... And i want it to be different...

Do you know this problem?

is there a workaround?

 

thanks

elaj

 

 

 

 

1 ACCEPTED SOLUTION
PhilipTreacy
Super User
Super User

Hi @elaj 

Unfortunately, annoying as this can be, it is by design.

Rather than rewrite the contents of this excellent article on the subject - please read this

Letter case-sensitivity in DAX, Power BI and Analysis Services - SQLBI 

But to sum up the issue you are having: DAX sees friend and Friend as the same thing because DAX is case insensitive.

The storage engine in PBI builds a dictionary of the distinct values in your data, and because it is case insensitive, Hello (friend) and Hello (Friend) are the same in its view.

Hello (friend) is stored in the dictionary and any other occurrence of that string is merely given an Index to that string.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


View solution in original post

1 REPLY 1
PhilipTreacy
Super User
Super User

Hi @elaj 

Unfortunately, annoying as this can be, it is by design.

Rather than rewrite the contents of this excellent article on the subject - please read this

Letter case-sensitivity in DAX, Power BI and Analysis Services - SQLBI 

But to sum up the issue you are having: DAX sees friend and Friend as the same thing because DAX is case insensitive.

The storage engine in PBI builds a dictionary of the distinct values in your data, and because it is case insensitive, Hello (friend) and Hello (Friend) are the same in its view.

Hello (friend) is stored in the dictionary and any other occurrence of that string is merely given an Index to that string.

Regards

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors