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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Fia123
Helper II
Helper II

Newbie Question - Get Data from SQL Server

Hi,  I tried to refresh a report with data both from SQL server and Excel files saved in Onedrive for business, but do not get it.  I  use "Import" to get the data fra SQL server  and "Web" to get data from the Excel files.  I have installed the data gateway and it works find with the SQL data only. I have also made a test where I only use data fra the Excel files - and it works find. When I combine those two queries, I got a error message that I have to installed the gateway. What do I do wrong????  See error message below

Gateway_web.jpg

4 REPLIES 4
Eric_Zhang
Microsoft Employee
Microsoft Employee


@Fia123 wrote:

Hi,  I tried to refresh a report with data both from SQL server and Excel files saved in Onedrive for business, but do not get it.  I  use "Import" to get the data fra SQL server  and "Web" to get data from the Excel files.  I have installed the data gateway and it works find with the SQL data only. I have also made a test where I only use data fra the Excel files - and it works find. When I combine those two queries, I got a error message that I have to installed the gateway. What do I do wrong????  See error message below

Gateway_web.jpg


@Fia123

Did you install the on-premise gateway? For your case, you can only install a personal gateway, see Why on-premise data gateway is not available for the dataset combines on-premise data sources and on...

Yes, we have installed on-premise gateway.

 

After I posted this comment yesterday, I found this answer from Admin, Microsoft Power Bi, see below.  So it seems that this is not possible 😞   But I have found out how I can import Excel Workbooks - and perhaps this will solved my issue. I  just hope there are no restrictions on the size of the files.

 

Thanks for answering 🙂

Gateway_Onedrive_SQL.jpg

You will potentially have to ensure that what ever datasources you have in your Power BI Desktop file, you also have the identical sources setup in your Gateway?

 

If the above is not the case the Gateway will not work as expected.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Fia123
Helper II
Helper II

To be even clearer, is it possible to set up schedule refreshe for a data set with both on-premises data (SQL server) and data from Excel files (Onedrive for business)? I have installed a data gateway.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.