cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Change Data Source

Hi i need to change data source of my pbix. 

I have to switch from PostgreSQL to SQL. If i go to datasource settings i can only change server and database but i cant change the type (SQL, Excel, ecc.)

 

Someone could help me?

 

thanks

 

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User IV
Super User IV

@nannimora Sure, create a new PBIX file that connects to your SQL data source. Open up Advanced Editor in Power Query and copy the Source and Navigation lines.  Now open a copy of your report that connects to the PostgreSQL database. Open Advanced Editor and replace the Source and Navigation lines with your copied Source and Navigation lines.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

1 REPLY 1
Highlighted
Super User IV
Super User IV

@nannimora Sure, create a new PBIX file that connects to your SQL data source. Open up Advanced Editor in Power Query and copy the Source and Navigation lines.  Now open a copy of your report that connects to the PostgreSQL database. Open Advanced Editor and replace the Source and Navigation lines with your copied Source and Navigation lines.


---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors