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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
alavanka
Helper I
Helper I

How to consolidate same list from several subsites in Sharepoint

Hello all,

 

I have several projects (subsites) in Sharepoint Online and each has a set of lists with the same structure (ex. Risks, Issues, Deliverables, Reporting Status,  etc.)

 

Project A

Risks

Issues

Deliverable

Reporting Status

Project B

Risks

Issues

Deliverable

Reporting Status

Project C

Risks

Issues

Deliverable

Reporting Status

.

.

Project Z

Risks

Issues

Deliverable

Reporting Status

 

I am struggling to create a query in PowerBI that will get the information from all the subsites combined  for each of the lists.

Using the connector Sharepoint Online List I am able to get the information of each lists for an isolated subsite, mas I am not able to retrieve the subsites from the masterpage.

 

image.png

 

What do you suggest me to solve my problem?

 

I really need help to sort this out... I don't understand how I can't find an out of the box solution, as it seems a basic requirement to many companies managing several data from different subsites.

 

Any help will be wellcome! 🙂

 

 

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi  @alavanka ,

 

Use Table.Combine with Table.SelectColumns to realize it.

References are as below:

https://docs.microsoft.com/en-us/powerquery-m/table-combine

https://docs.microsoft.com/en-us/powerquery-m/table-selectrows

 

Check my example below:

 

v-kelly-msft_2-1614591273255.png

 

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Hi v-kelly-msft,

I am afraid I didn't explain properly.

I would like to have this information dinamically. To get all the subsite lists from a site and not being worried to change the query whenever we have a new project or if a project is closed.

 

Hi  @alavanka ,

 

I guess the method in below blog is what you need.

https://feathersanalytics.com/dynamic-column-merging-in-power-query/

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors