cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Connect LiveQuery data with an local Excel file (import)

Hello togehter,

 

I want to get some data from a SQL server with LiveQuery. These datasets I want to connect with a local Excel file on my laptop. This file has some master data which are not on the SQL server and which I need for some filters. 

 

Now the problem: 

If I choose the data from the server with LiveQuery it´s not a problem. After that I want to upload the Excel file and then the program says that it isn´t possible or I have to change the data from the SQL server to "import" and not LiveQuery. But that means I can only set up the time to refresh the data and that only works when the laptop is connected with the internet and is turned on.

 

Is there a way to say that the Excel file is on the mode "import" and the data from the server on "LiveQuery" in one Power BI data?

 

Thanks and have a great day

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

Re: Connect LiveQuery data with an local Excel file (import)

@ChristopherKa You can't mix connection types. When you use Direct Query, you have to pull all the data the same way. So you could add the Excel file as a table in the SQL database.

Or.

If you want to import all the data and not use Direct Query you could set up an On Premises Data Gateway on a server that is running all the time. Then create a data source on the gateway in the Service, and schedule refresh.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

1 REPLY 1
Super User III
Super User III

Re: Connect LiveQuery data with an local Excel file (import)

@ChristopherKa You can't mix connection types. When you use Direct Query, you have to pull all the data the same way. So you could add the Excel file as a table in the SQL database.

Or.

If you want to import all the data and not use Direct Query you could set up an On Premises Data Gateway on a server that is running all the time. Then create a data source on the gateway in the Service, and schedule refresh.


Looking for more Power BI tips, tricks & tools? Check out PowerBI.tips the site I co-own with Mike Carlo. Also, if you are near SE WI? Join our PUG Milwaukee Brew City PUG

View solution in original post

Helpful resources

Announcements
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors