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
Anonymous
Not applicable

Case sensitive issue when Power BI connects to sql tables

I'm trying to switch Power BI tabular model among different sql servers. The table names may have different upper or lower cases across servers. Since power query is case-sensitive, it fails to connect when in some environment the table name shows as "dimcustomer" instead of "DimCustomer". Are there anyway to make it case-insensitive? Thanks!


I set up three parameters (Server, Database, SchemaParam) for easy switch among various environment. 

 

let
Source = Sql.Database(Server, Database),
Customer = Source{[Schema=SchemaParam, Item="DimCustomer"]}[Data],

1 ACCEPTED SOLUTION
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

not its a base behavior of power query its case sensitve for all references, label, etc 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




View solution in original post

1 REPLY 1
StefanoGrimaldi
Resident Rockstar
Resident Rockstar

not its a base behavior of power query its case sensitve for all references, label, etc 





Did I answer your question? Mark my post as a solution! / Did it help? Give some Kudos!

Proud to be a Super User!




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