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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors