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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
akj2784
Post Partisan
Post Partisan

Convert Import to Direct Query

hi All,

 

I have developed my data model by importing tables in power bi desktop, now I want to convert it to direct query so that I can publish to service as I don't want to load the data in cloud.

 

Is it feasible ?

 

What do you suggest if we have a huge volume of data in the tables, should I use import or direct query ?

 

Regards,

Akash

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@akj2784,

 

As mentioned here, while it's generally possible to switch a model from DirectQuery mode to use import mode, this means all the necessary data must be imported. It is also not possible to switch back (primarily due to the set of features not supported in DirectQuery mode). You may also take a look at this idea.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
TheMindGymnast
Frequent Visitor

The method provided by Daniiel Maslyuk, https://xxlbi.com/blog/switching-from-imported-data-to-directquery-or-live-connection-in-power-bi/ Is definately the best option in my opinion. It relies on the data model being identical but the use case is normally this. 1. You have created a report in desktop, imported all the datasets, added measures, schema etc and published to the service. 2. You have started building additional reports in direct query using this same dataset 3. You now want to decouple the reports from the dataset or you wish to split an unweildy report with lots of pages into sdperate reports. In this case, there will be no differences betwen the imported dataset and the one in the service. As long as you delete all the queries in your report, save and reopen you willl be able to chose Power BI as the data source. Remember though that its not just M queries but any DAX table (e.g. dates tables, summarized) that need to be removed.
v-chuncz-msft
Community Support
Community Support

@akj2784,

 

As mentioned here, while it's generally possible to switch a model from DirectQuery mode to use import mode, this means all the necessary data must be imported. It is also not possible to switch back (primarily due to the set of features not supported in DirectQuery mode). You may also take a look at this idea.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors