cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
akj2784 Member
Member

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
Community Support Team
Community Support Team

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.
2 REPLIES 2
Community Support Team
Community Support Team

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.
TheMindGymnast Frequent Visitor
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.