Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Update data source file (Excel) on OneDrive after uploading pbix file from Power BI Desktop

Hello,   I am quite a new to Power BI Service. Would you please help me to find out a relevant way to update a data source file (Excel) on OneDrive.   I have created a report on Power BI Desktop ...
  • v-xicai's avatar
    7 years ago

    Hi Anonymous ,

     

    When you store a Power BI Desktop file on OneDrive or SharePoint Online, any data you’ve loaded into your file’s model is imported into the dataset, and any reports you’ve created in the file are loaded into Reports in the Power BI serviced. 

    When you make changes to your file on OneDrive or SharePoint Online, such as adding new measures, changing column names, or editing visualizations, once you save the file those changes will be updated in the Power BI service too, usually within about an hour.

    You can perform a one-time, manual refresh right in Power BI Desktop by selecting Refresh on the Home ribbon. When you select Refresh here, the data in the file’s model is refreshed with updated data from the original data source. 

     

    When you import your Power BI Desktop file from OneDrive, or SharePoint Online, data, along with other information about the model is loaded into a dataset in Power BI. In the Power BI service, not Power BI Desktop, you want to refresh data in the dataset because that is what your reports, in the Power BI service, are based on. Because the data sources are external, you can manually refresh the dataset by using Refresh now or you can setup a refresh schedule by using Schedule Refresh.

     

    When you refresh the dataset, Power BI does not connect to the file on OneDrive, or SharePoint Online, to query for updated data. It uses information in the dataset to connect directly to the data sources to query for updated data it then loads into the dataset. This refreshed data in the dataset is not synchronized back to the file on OneDrive, or SharePoint Online.

     

    You can refer to the link: https://docs.microsoft.com/en-us/power-bi/refresh-desktop-file-onedrive.

     

    Best Regards,

    Amy

     

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