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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
byronf
Frequent Visitor

Text case in being changed automatically

Power BI is changing the format of my data when I import it, by auto capitalizing certain text values.


In the picture below (from the Power Query Editor) you can see that the column called "Master Costing Name" has 33 records for "Customs Clearance (fixed)". In the original data source and in the Query Editor only one of the 33 records has a capital "F" and all the others have a lower case "fixed".

byronf_0-1600181843997.png

 

Once I import the data and view it in the Data view it appears if all 33 records have been changed to an upper case "F" in the name "Customs Clearance (Fixed)". This is an issue because our system is case sensitive. This has happened to all records, but I have just shown this one as an example.

byronf_1-1600182213140.png

 

Is this happening because Power BI is compressing the data? And how do I stop this from happening and keep the text in the case it was originally intended?

 

 

3 REPLIES 3
Robert14358
Resolver III
Resolver III

i have the same issue, its auto capitalizing first names and last names

Greg_Deckler
Super User
Super User

@byronf Can you post your code from Advanced Editor?



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...

Hi @Greg_Deckler 

Sure

let
Source = Salesforce.Data(),
CPA_Costing__c = Source{[Name="CPA_Costing__c"]}[Data],
#"Filtered Rows" = Table.SelectRows(CPA_Costing__c, each ([RecordTypeId] = "0120Y000000ytNlQAI")),
#"Removed Other Columns" = Table.SelectColumns(#"Filtered Rows",{"Id", "Name", "CPA_v2_0__c", "Amount__c", "Applied_to__c", "Condition__c", "Conditional_value__c", "Cost_Type__c", "Rate__c", "Shipment_Order_Old__c"}),
#"Renamed Columns" = Table.RenameColumns(#"Removed Other Columns",{{"Shipment_Order_Old__c", "SO_id"}, {"CPA_v2_0__c", "CPA_id"}, {"Name", "Master Costing Name"}})
in
#"Renamed Columns"

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!

December 2024

A Year in Review - December 2024

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