cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AusSam74 Frequent Visitor
Frequent Visitor

The ability to use Direct Query and Import in the same report

Hi, I hope someone can provide me advice on this.............

 

Am I able to use 2 or more different datasets via both Direct Query and also using DX ( SQL ) import at the same time??

 

At the moment when I try to add another source using SQL command and creating a new view, it states that:

 

"The data source you are trying to connect to is different than the existing DirectQuery data source. To continue, all queries must be switched to Import mode, which may result in a large amount of data being loaded"

 

I don't want to switch to Import mode, as the database is very big in my first dataset.... but what I would like is to use both DQ and Import Mode.... this might not be possible! If not how do I get around this??

 

Any help appreciated.

 

Samir.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: The ability to use Direct Query and Import in the same report

@AusSam74 You can't mix connection types. The only option as I see it would be to either reduce the data set to only the required information (if you haven't already) in order to use import. Otherwise you may want to pursue looking at Analysis Services to combine the datasets and be able to scale to meet your needs.

A different option, if AS is off the table would be to stage your data from both locations to a SQL Database that serves the reports.


Near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

4 REPLIES 4

Re: The ability to use Direct Query and Import in the same report

@AusSam74 You can't mix connection types. The only option as I see it would be to either reduce the data set to only the required information (if you haven't already) in order to use import. Otherwise you may want to pursue looking at Analysis Services to combine the datasets and be able to scale to meet your needs.

A different option, if AS is off the table would be to stage your data from both locations to a SQL Database that serves the reports.


Near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

sevilay Frequent Visitor
Frequent Visitor

Re: The ability to use Direct Query and Import in the same report

Hi,

when you say "You can't mix connection types", it confuses me because My power Bi report (Version: 2.64.5285.741 64-bit (November 2018))  was created on Direct Query Mode. i am able to GET Data using both Direct Query and Import Mode for different set of tables.  i havent used mix connection types before, not sure how this works in terms of data refresh?

Thanks a lot in advance

6vincent Frequent Visitor
Frequent Visitor

Re: The ability to use Direct Query and Import in the same report

This is a relatively new development that allows you to use both Direct Query and Import in the same report. Since your initial request was made prior to the upgrade, the responses you received were accurate at the time. However, since you are using the latest version of Power BI, you can see from the link below that using both is no longer an issue.

 

https://www.jamesserra.com/archive/2018/07/power-bi-new-feature-composite-models/

Highlighted
sevilay Frequent Visitor
Frequent Visitor

Re: The ability to use Direct Query and Import in the same report

Hi,

Thank you so much for your quick response. the link you provided is great, explains about the new features of Power BI which is just excellent. however when the report is published onto the Service, how does the refresh schedule work for tables on direct query mode? because in previous versions, for projects on direct query mode, we had the option of scheduling direct query refresh (cache refresh). my current report has tables with mixed mode, and published onto Power BI service, i can see the option to schedule a refresh but nothing around direct query refresh.

Your help is much appreciated

Thanks in advance

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,358)