cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Convert Import to Direct Query

@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
Highlighted
Community Support
Community Support

Re: Convert Import to Direct Query

@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

Highlighted
Frequent Visitor

Re: Convert Import to Direct Query

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.

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors