Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
bpontius
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
v-shex-msft
Community Support
Community Support

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 as solution to help other members find it more quickly.

View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

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 as solution to help other members find it more quickly.

Hello,

 

I'm in the same situation, but am not allowed to connect my local Excel / Power BI to the sharepoint server due to MFA and security settings on my laptop.

Is it possible as well to update the source location AFTER publication, i.e. in the online version of Power BI?

 

Thanks,

 

Wim

Thank you Xiaoxin! That helped a lot!

Best Regards,

Chris

 

dtartaglia
Resolver I
Resolver I

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.