Forum Discussion

Greg_Davurse's avatar
Greg_Davurse
Helper I
10 years ago
Solved

Unable to refresh using On Premise Gateway

I am having an issue connected my SQL DB to my Power BI Report.    I created a set of reports in Power BI Desktop and then Published the reports to powerbi.com, at that time, I also downloaded the ...
  • Anonymous's avatar
    Anonymous
    10 years ago

    Hi Greg_Davurse,

    Based on your screenshot, you have multiple data sources(SQL Server, Excel) in your current PBIX file. In your scenario, besides adding SQL data source under the on-premises gateway, you will need to add Excel data sources under the gateway. This way, you will be able to schedule refresh for this dataset. I have tested this scenario successfully.


    Thanks,
    Lydia Zhang

  • Greg_Davurse's avatar
    Greg_Davurse
    10 years ago

    Hi Anonymous, 

     

    The two excel files were definitely the issue. Thanks for pointing that out. In order to make this work for my customer, I had to upload these excel files to my customer's OneDrive and access them that way. (I didn't realize Power BI would constantly reference those excel files - I thought once I imported the data, I could eliminate that connection, as the data is static and would never change). However, in order to access the two excel files in OneDrive, you have to use Oauth credentials, and I am also trying to use the On-Premise Enterprise gateway on the customer's Server to access their SQL as well, but when I mashup my scenarios , excel files and the SQL server, my On-Premise gateway is greyed out.   

     

    I was infomored this is a current limitation of the On-Premise Gateway, as it does not support OAuth Authentication, so as a work around, in order to get my report to work properly/refresh, I installed the personal gateway on the Server, as it supports OAuth. 

     

    Thanks again for the help!

     

    Greg Gillespie