Forum Discussion

febyte's avatar
febyte
Icon for Advocate I rankAdvocate I
6 years ago
Solved

SharePoint Online and Gateway

I have a gateway that's connected to an SQL Server and I want to include Excel content from SharePoint Online. When I tried simply adding it as a data source it did not work because the gateway can't...
  • v-xicai's avatar
    6 years ago

    Hi febyte ,

     

    You can choose SQL Server database connector with DirectQuery mode or Import mode to connect on premise SQL Server, see :Refresh data from an on-premises SQL Server database, and choose SharePoint folder connector to connect excel files of SharePoint online at the same pbix file in Power BI Desktop, see: Loading Excel Files from Sharepoint.

    Since your database combines on premise data source and cloud data source at the same time, the gateway need to be installed and set,  add the two data sources of your dataset to gateway in Power BI Service, as described in Add a data source. Then you can use manual refresh or schedule refresh to get updated data, see more :On-premises data gateway , Configure scheduled refresh .

     

    Note that you also need to select Allow user's cloud data sources to refresh through this gateway cluster option Under Gateway Cluster Settings. See: Merge or append on-premises and cloud data sources.

     

    Best Regards,

    Amy 

     

    Community Support Team _ Amy

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.