A step-by-step guide to establishing a connection between Power BI Desktop and OneDrive. A video tutorial of establishing a connection is also available.
Work seamlessly in PowerBI Desktop with the ability to use files in OneDrive as a datasource. This allows multiple users access to update the data and view it in a simple report format.
- Save file to OneDrive.
- Sign into your OneDrive account in a browser.
- Find the file.
- There are two ways to do the next step.
- Click on the … for more actions. Select ‘Details’.
- Scroll down to path and copy the direct path using the icon.
OR - From OneDrive, select ‘Open in Desktop’.
- Once open in Excel Desktop, go to File – Info – Copy path. Click copy path.
- Open PowerBI Desktop. Under ‘select a data source’, choose ‘get data from other sources’.
- Search for Web. Select Web. Click Connect.
In Basic URL, paste the link you copied from OneDrive.
- Select the sheet(s).
- Click Load to Load the data or Transform Data to write calculations.
- Build the viz. Publish to the PowerBI Service.
- Once it finished publishing, click the link to open the file in the PowerBI Service.
- Go to the project and select the semantic model.
- If you click Refresh Now, you’ll receive an error. The credentials need to be embedded.
- Under ‘File’ in the Semantic Model, select ‘Settings’. Scroll down to ‘Data Source Credentials’ and select ‘Edit Credentials’.
- Authentication method is OAuth2.
- Privacy level is organizational.
- Go back to the semantic model and click ‘refresh’. The error has disappeared.
- Test by updating your spreadsheet in OneDrive.
- Refresh the data source at the semantic model; refresh the visuals.
Important Information
The university uses Power BI Pro; you are limited to 8 (eight) semantic model refreshes per day.
PowerBI software updates monthly. It may take googling as OTDI is not staffed to handle and investigate all monthly updates to a product.