Forum Discussion
PowerBI and Data from SharePoint lists across multiple sites
Hello - I have 50+ (and continually growing) SharePoint sites with the same set of SharePoint lists with data on each individual site which I want to consolidate and visualise using PowerBI.
1. What is the most efficient (and best practice) method of consolidating the data into one dashboard?
2. Will I need to update the consolidated dashboard manually to include new sites are they are provisioned through the year?
Thanks in advance!
9 Replies
- v-qiuyu-msftCommunity Support
Hi httpftp123,
1. What is the most efficient (and best practice) method of consolidating the data into one dashboard?
In my opinion, you can open multiple connections to connect to multiple SharePoint sites in Power BI Desktop, then you can open Query Editor to use Merge Queries or Append Queries features. When you have one or more columns that you'd like to add to another query, you merge the queries. When you have additional rows of data that you'd like to add to an existing query, you append the query. After you create a .PBIX report, you can publish it to Power BI Service.
2. Will I need to update the consolidated dashboard manually to include new sites are they are provisioned through the year?
If you want to combine another new SharePoint list into the existing one, you need to open another connection and open Query Editor to merge or append again. Then republish the report to service.
Best Regards,
Qiuyun Yu- httpftp123Frequent Visitor
Thanks v-qiuyu-msft - this is very helpful.
To avoid republishing the report every time a new site/lists is added, is there a way to dynamically iterate through all child subsites given a parent url? If not, is the only alternate solution consolidating the lists data into an external DB and generating the report from there?
- v-qiuyu-msftCommunity Support
Hi httpftp123,
Based on my test, we are not able to retrieve list data use SharePoint Folder, SharePoint List or Web data source by typing root site URL. In your scenario, if you don't want to republish report after new site added, you can try to export and combine lists data into SQL Server database or Excel, then use Power BI desktop connect to the SQL Server database or Excel. After publish the report to service, set the schedule refresh for the dataset. You need to make sure data in SQL Server database or Excel can be updated always.
Best Regards,
Qiuyun Yu
- AnonymousNot applicable
Hi,
I would like to know if anyone got to the bottom of this topic please and have a solution ? The link to the marque360 seems to be explaining exactly what i need to do, but it doesnt work when i try - expression syntax error.
Cheers
JL