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

Changing data source, how to make the migration (easily)

Hi,

 

I have lots of variables in lots of tables that are currently in SQL database and this database is going to die and the data be moved into PostgreSQL database. Table names are slight different. Variables names are slights different and might not be found in both... My questions is 1. How to change the datasource. 2 how to make this work easier... ?

 

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. I think the best you can do is actually go table by table of your power bi and create for each of the a postgresql query that make the table the most similar as possible as it is with sqlserver. The most important thing is try renaming the columns in order to get them all as they already are. Once you have that you go and change the "Source" step of each table with it's postgresql query in power query. If you manage to change like this, the report should stay equally related and working. The problem is if you forget a column or you use different names, in that case you have to relate again the tables and move again the columns to charts and measures.

 

Regards,

 


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

Happy to help!

LaDataWeb Blog

View solution in original post

1 REPLY 1
ibarrau
Super User
Super User

Hi. I think the best you can do is actually go table by table of your power bi and create for each of the a postgresql query that make the table the most similar as possible as it is with sqlserver. The most important thing is try renaming the columns in order to get them all as they already are. Once you have that you go and change the "Source" step of each table with it's postgresql query in power query. If you manage to change like this, the report should stay equally related and working. The problem is if you forget a column or you use different names, in that case you have to relate again the tables and move again the columns to charts and measures.

 

Regards,

 


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

Happy to help!

LaDataWeb Blog

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.