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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
KPMTGG
Frequent Visitor

Power Query load changes text case

Hello,

 

When I load a text ID from PQ directly into Power Pivot (Excel), the case of the string is being changed.

 

In PQ the IDs show as "3L1AMs" and "3L1AMS", but in PP they both become "3L1AMS."  What is weird, is when I filter to just "3L1AMs" (lowercase s), the row loads correctly.  It is only when both are included that one is wrong after loading.

 

FYI, PQ also loads it incorrectly to a table.  This is a PQ issue, not PP issue.

 

I think this is a bug and might need review from the PQ team.  Thoughts?

 

PQ is below

KPMTGG_0-1667406105371.png

 

PP is below

KPMTGG_1-1667406137467.png

 

Excel table

KPMTGG_1-1667406382683.png

 

 

2 REPLIES 2
Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @KPMTGG  - Power Query has different case-sensitivty rules to Tabular Data Model.  In Power Query, "a" does not equal "A".  In DAX, "a" and "A" are same.  The fact that capital "S" is using instead of "s" is just that indexing was based on the first instance.   Please read the following to understand why Tabular Data Model works this way:  Letter case-sensitivity in DAX, Power BI and Analysis Services - SQLBI

@Daryl-Lynch-Bzy  I understand that.  This is a Power Query issue, not a PBI issue.  When loading data from PQ into a table in Excel, not in Power Pivot, it should use the correct case, i.e. it should have a lower case S.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors