cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aattwater
New Member

Refresh Sharepoint Online list data on embedded dashboard hosted in Azure

I've followed this example to get a dashboard embedded in a .NET MVC website. The dashboard is publised to an Azure Power BI workspace collection, then embedded in to a page in my website using the Power BI .NET libraries. The website has authentication (redirects to the login screen at https://login.microsoftonline.com/common/oauth2/authorize) to connect to Sharepoint Online to show list data.

 

I can refresh the data in Power BI desktop to show the correct, current data, but I can't find anywhere an option to refresh the embedded dashboard which stays at the data at the time the PBIX file was published to Azure.

 

Could anyone point me in the right direction to be able to acheive refreshing of Sharepoint Online data in an embedded dashboard?

1 REPLY 1
Eric_Zhang
Microsoft
Microsoft

@aattwater

 

As far as I know, three ways to refresh the data in Power BI Embedded.

  1. If report is importing data, recreate a pbix and re-import it to workspace, no schedule refresh.
  2. If report is using direct query, use Azure SQL database/data warehouse and set the azure credential via REST.
    Patch GatewayDatasource
    Data source connectivity
    Your report would be always up to date, no need to refresh.
  3. Additon to 2, if using direct query to any other on-premises source, there's no gateway supported like in Power BI Service. Say your report is using an on-premises SQL Server, set up an automation process to load the data from SQL Server into the Azure SQL database via an ETL tool like SSIS, then schdule this automation process to run in a certain interval to update the data.

Helpful resources

Announcements
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.