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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
dpombal
Post Partisan
Post Partisan

Change database connection type Import to Direct Query

I want to import from SQL Server on PowerBI desktop but after creating dashboards how can I change connection type to Direct Query to publish it online and keep it updated

1 ACCEPTED SOLUTION
alanhodgson
Solution Supplier
Solution Supplier

Hey @dpombal,

 

Unfortunately this can not be done with the current version of PBI Desktop for a few reasons:

 

1. If you have made any changes to the data model after importing it into Desktop, then all those changes would be removed.

2. Import allows you to create relationships throughout the data structure and if you could change to direct query, then all those relationships would be broken.

3. Conflicts in the data model that the import can handle, but direct query may not and vice vera.

 

Best solution is to rebuild the reports. Sorry for the bad news!

 

Hope this helps,

 

Alan

View solution in original post

1 REPLY 1
alanhodgson
Solution Supplier
Solution Supplier

Hey @dpombal,

 

Unfortunately this can not be done with the current version of PBI Desktop for a few reasons:

 

1. If you have made any changes to the data model after importing it into Desktop, then all those changes would be removed.

2. Import allows you to create relationships throughout the data structure and if you could change to direct query, then all those relationships would be broken.

3. Conflicts in the data model that the import can handle, but direct query may not and vice vera.

 

Best solution is to rebuild the reports. Sorry for the bad news!

 

Hope this helps,

 

Alan

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.