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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
pbi_106
Helper I
Helper I

How to toggle a query between Import and DirectQuery data connectivity modes

Hello,

 

Maybe I'm missing something rather simple, but once I've created a query, can I go back in and switch the data connectivity mode?  I see the radio buttons for Import and DirectQuery showing up when I first create a query, but having trouble finding them when I go into the data source settings to change the source, these radio buttons aren't visible.  Can they be found in another place, or is there no way to change this once the query has been created?

 

Also, I'm hoping for confirmation as to the difference between Import and DirectQuery.  Does import gather up all of the data during a data refresh and tie it to the report file itself, whereas DirectQuery just queries the database in real time?

 

Thank you for your help.

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

You are correct about the difference.

 

Generally, you can change from DirectQuery to Import but not the other way around (partly because DirectQuery has greater restrictions on transformations). To go from Import to DirectQuery (assuming the query doesn't violate the restrictions), you need to recreate the query (you can copy and paste the query code rather than manually re-applying the same steps).

 

Screenshot from the first link below:

AlexisOlson_3-1646342005757.png

 

Further details:
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-storage-mode

https://docs.microsoft.com/en-us/power-bi/connect-data/service-dataset-modes-understand

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

You are correct about the difference.

 

Generally, you can change from DirectQuery to Import but not the other way around (partly because DirectQuery has greater restrictions on transformations). To go from Import to DirectQuery (assuming the query doesn't violate the restrictions), you need to recreate the query (you can copy and paste the query code rather than manually re-applying the same steps).

 

Screenshot from the first link below:

AlexisOlson_3-1646342005757.png

 

Further details:
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-storage-mode

https://docs.microsoft.com/en-us/power-bi/connect-data/service-dataset-modes-understand

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.