March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi there,
I have a Power BI report that I have on my personal one drive.
I'm looking to upload the report and Excel to a SharePoint online which I will also want to make the new data source.
How can I do this so that then when I upload the Excel and refresh in the SharePoint then the data would update?
Any help would be appreciated.
Thank you.
Solved! Go to Solution.
To use a SharePoint Online Excel file as the data source for your Power BI report, you can follow these steps:
This setup ensures that any updates to the Excel file in SharePoint will reflect in your Power BI report after a refresh. Let me know if you need detailed guidance on any step!
Hi @gbarr12345 ,
Please follow these steps:
1.Change your data source
2.Verify that the account you enter here can log in to the SharePoint site
3.Update Power BI Desktop to the latest version
4.Clear all global permissions
Best Regards,
Wenbin Zhou
To use a SharePoint Online Excel file as the data source for your Power BI report, you can follow these steps:
This setup ensures that any updates to the Excel file in SharePoint will reflect in your Power BI report after a refresh. Let me know if you need detailed guidance on any step!
Thank you very much for your help! Really appreciate it!
I have also attacehd detail steps with screen shots for your help on one_drive. you can reach with this below to those detailed screen short step for easre of your issue.
If you have any problem please contacht with me on forum.
https://drive.google.com/drive/folders/1dpnVZ3xWncbY3KRT0FcnIlRL8vbTm4el?usp=sharing
Hi there,
Thank you for your response.
I followed your steps but when I got to the data source part I'm getting the following error when I put the file link in:
How do I work around this?
Hi all,thanks for the quick reply, I'll add more.
Hi @gbarr12345 ,
Click here to select an account that has access to your sharepoint site to log in
If your problem is solved, please mark 123abc 's answer as the solution
Best Regards,
Wenbin Zhou
Hi Wenbin,
Thanks for your message.
I tried the organisational account option and when I tried logging in with my work email that was the option I'm still getting the error.
Any idea how to get past this?
Hi @gbarr12345 ,
Please follow these steps:
1.Change your data source
2.Verify that the account you enter here can log in to the SharePoint site
3.Update Power BI Desktop to the latest version
4.Clear all global permissions
Best Regards,
Wenbin Zhou
Thank you Wenbin. I have that working now so really appreciate it.
Just one more quick question. I have the Power BI report linked to the SharePoint dataset. However, when I update the excel in the SharePoint and I refresh the report it's linked to, the report doesn't update with the new data.
How do I get the report the dataset is linked to to update with the new data in the App/Service?
App/Service:
Dataset in SharePoint:
Notice the 25/12/2024 isn't showing on the Power BI report.
Hi @gbarr12345 ,
First of all, I hope you can also mark 123abc 's answer as the solution. I fully agree with his solution.
Regarding your question,
1. update the credentials of your dataset.
2.Manually refresh your dataset or configure a scheduled refresh
3.Refresh your visuals
If you want to modify the excel file in sharepoint, click here
Best Regards,
Wenbin Zhou
I've accepted as a solution now. Thank you very much , I'm sorted now with it. Appreciate the help.
Hi @gbarr12345 - Please find the process flow :
1. Upload the Files to SharePoint Online
Navigate to the desired SharePoint Online library where you want to upload your files (e.g., "Documents" in the Operations Hub site as shown in your image).
Upload the Excel file:
Click on "Upload" and select your Excel file from your local system.
Upload the Power BI report:
If needed, you can upload the Power BI (.pbix) file for storage, but note that the primary interaction with the report will happen in Power BI Service.
2. Update the Data Source in Power BI Desktop
Open the Power BI report in Power BI Desktop:
Open your .pbix file that currently points to the Excel file stored on your OneDrive.
Change the data source to SharePoint Online:
Go to the Home tab and select Transform data > Data source settings.
Locate the connection referencing the current Excel file and select Change Source.
For SharePoint Online:
Use the URL of the SharePoint document library (e.g., https://[YourOrganization].sharepoint.com/sites/[SiteName]/Shared Documents/[FolderName]/[FileName].xlsx).
Ensure you authenticate with your SharePoint Online credentials (you may use either Organizational Account or Web options depending on your setup).
Apply the changes:
Ensure the updated connection is functional by refreshing the data.
3. Publish the Report to Power BI Service
After updating the data source, publish the report to Power BI Service:
Go to the Home tab in Power BI Desktop.
Select Publish and choose the relevant workspace in Power BI Service.
4. Schedule Data Refresh
Configure the Gateway (if required):
If your Excel file resides on SharePoint Online (cloud), no gateway is needed. However, ensure proper permissions.
Set up the Refresh Schedule:
In Power BI Service, navigate to your dataset under the workspace where the report is published.
Configure the refresh schedule using your organizational credentials for SharePoint Online.
5. Automate Updates
To automate updates:
Simply replace the Excel file on SharePoint Online with the updated version, ensuring the structure (e.g., columns and sheet names) remains consistent.
The next data refresh in Power BI Service will pull in the updated data.
Hope this information helps.
Proud to be a Super User! | |
Hi Rajendra,
I followed your steps and when I got to the changing data source part I am getting the following errors:
The first error is the link of the whole SharePoint folder where the Excel is within:
I also tried the link of just the Excel file:
Any idea the right way to do this or the best way to get past this?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
89 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |