cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Changing excel file data source/location

I set up a report drawing data from a database and a couple Excel files using PowerBI desktop and published to PowerBI Online with hopes of other users being able to refresh/update the data. Due to the fact that the Excel file was on my personal computer they were unable to do so. 

After a bit of research it looks like multiple users should be able to refresh and see up-to-date information if the Excel files are hosted on our team's Sharepoint (as outlined here). Two questions regarding this, if anyone has the answer: 

 

  1. Will this enable users who have access to the Sharepoint to refresh the data in PowerBI?
  2. If yes to question 1, how do I go about changing the location that my current dashboard's dataset is looking to for the Excel files? I've uploaded them to a Sharepoint folder but can't figure out how to redirect PowerBI to grab the data there rather than the files on my own computer. I'd rather not delete and re-create the connections since then I would lose a significant number of calculated columns and measures that I've created. 

Any help would be greatly appreciated! 

- Ben 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Changing excel file data source/location

Hi @bpontius,

 

>>Will this enable users who have access to the Sharepoint to refresh the data in PowerBI?

I'm not so clear for your description, but if you direct connect to sharepoint team site files, it will use sharepoint to manage the refresh without gateway. (For this mode, you cannot use this file as the source of tiles.)

 

For #2, if you want to import sharepoint site files to power bi, you can refer to below steps:

1. Navigate and open the excel file.

2. Click the 'Edit Workbook' -> 'Edit in Excel'.

3. Copy the path to clipboard.

File - > InfoFile - > Info

4. Open the import dialog and paste the url, then remove "?web=1" and select the 'copy data' mode to finish the operation.('Import' - > 'workbook')

2.PNG

 

After you finish and publish to service, this dataset will use connect to sharepoint with 'connect direct' mode.

3.PNG

 

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Highlighted
Resolver I
Resolver I

Re: Changing excel file data source/location

I cannot answer #1, I do not use Sharepoint. If no one else has the answer just test it. #2 I open the QueryEditor, Click Advanced Editor in the Query pane and change the path/location to the files here.

Highlighted
Community Support
Community Support

Re: Changing excel file data source/location

Hi @bpontius,

 

>>Will this enable users who have access to the Sharepoint to refresh the data in PowerBI?

I'm not so clear for your description, but if you direct connect to sharepoint team site files, it will use sharepoint to manage the refresh without gateway. (For this mode, you cannot use this file as the source of tiles.)

 

For #2, if you want to import sharepoint site files to power bi, you can refer to below steps:

1. Navigate and open the excel file.

2. Click the 'Edit Workbook' -> 'Edit in Excel'.

3. Copy the path to clipboard.

File - > InfoFile - > Info

4. Open the import dialog and paste the url, then remove "?web=1" and select the 'copy data' mode to finish the operation.('Import' - > 'workbook')

2.PNG

 

After you finish and publish to service, this dataset will use connect to sharepoint with 'connect direct' mode.

3.PNG

 

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: Changing excel file data source/location

Thank you Xiaoxin! That helped a lot!

Best Regards,

Chris

 

Helpful resources

Announcements
Meet the 2020 Season 2 Power BI Super Users!

Meet the 2020 Season 2 Power BI Super Users!

Find out who's part of the program this season, and welcome the new Super Users.

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Power BI Dev Camp - Developing with .NET Core

Power BI Dev Camp - Developing with .NET Core

Learn how to develop custom web applications for Power BI using .NET Core 3.1 and .NET 5.

Top Solution Authors
Top Kudoed Authors