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

Top Solution Authors
Top Kudoed Authors