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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
sonaliverma
Advocate I
Advocate I

Change the data source from SQL server to Amazon redshift

Hello Everyone,

 

I need to change the data source in PowerBI from SQL server to Amazon redshift, But all the columns in Amazon redshift are in lowercase, and on SQL sever it is in another case.

 

When I changed the data source, I lost all the fields in the visual and it is showing an error. I need to again take the fields in the visual.

 

Could you please suggest any method?

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @sonaliverma ,

 

Yes. I have created a test to reproduce such scenario.

1.Connect to Excel file1 with uppercase column names and then create visuals.

2.Replace Excel file1 with  Excel file 2 which column names are lowercase.

3.Handle errors in Power Query.

4.After applied changes, the visuals are needed to fix.

Eyelyn9_2-1649641801913.png

 

 

Eyelyn9_1-1649641788479.png

 

I think it's the expected output since the visuals could not find the fields any more.

 

And according to my researching, you could firstly change the column names to uppercase before you do any transformations by using :

RenamedColumns = Table.TransformColumnNames(Source, Text.Upper),

Then you don't need to re-arrange the vsiuals.

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It's an expected behaviour.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @sonaliverma ,

 

Yes. I have created a test to reproduce such scenario.

1.Connect to Excel file1 with uppercase column names and then create visuals.

2.Replace Excel file1 with  Excel file 2 which column names are lowercase.

3.Handle errors in Power Query.

4.After applied changes, the visuals are needed to fix.

Eyelyn9_2-1649641801913.png

 

 

Eyelyn9_1-1649641788479.png

 

I think it's the expected output since the visuals could not find the fields any more.

 

And according to my researching, you could firstly change the column names to uppercase before you do any transformations by using :

RenamedColumns = Table.TransformColumnNames(Source, Text.Upper),

Then you don't need to re-arrange the vsiuals.

 

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

It's an expected behaviour.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.