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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
JohnRamminger
New Member

Update the location of SharePoint List data for Power BI Report.

Hello, I have a question about Power BI reports. I have a client that is building reports for their locations and they are based on SharePoint lists. They have roughly 400 locations. I have been searching for a way to programmaticlly update the data source location and have not been successful. I know about the rest API's and have tried these functions with no success. They all appear to be focused on SQL. Has anyone done this successfully? I realize that I could ask the client to move the data into SQL, just looking for options.
 
Thanks,
 
John
2 REPLIES 2
christinepayton
Super User
Super User

Not sure I understand the use case - are they migrating tenants or something? It sounds like they built the architecture in a really unsustainable way. I think absolute worst case if you don't find something better, you might be able to do that with Power Automate Desktop, since it can interact with the PBIX directly (assuming you have all the PBIX in one place). E.g. have it loop through the files, opening the query editor, 'send keys' to copy the text, do a replace text on the URL, then have it paste the updated code in, apply, add a delay for the load time, and send keys to save. The republish bit would be sticky because I'm not sure you'd be able to get it to select the correct workspace, but it's something? 🙃

lbendlin
Super User
Super User

 I have a client that is building reports for their locations and they are based on SharePoint lists. They have roughly 400 locations

Do they have 400 lists?  all on the same site?

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Top Solution Authors