Forum Discussion
MichaelHutchens
4 years agoHelper V
Adding multiple SharePoint libraries to a query
Hi folks, I'm trying to add multiple SharePoint libraries to the same query. Here are my libraries: https://URL.com/sites/who-we-are/ https://URL.com/sites/tools-to-do-my-job/ https://URL.com/s...
- 4 years ago
You can start with these to get the combined source tables, and second line onwards you have to deal with GUIDs, as it is tough to understand the end goal
let Source = Table.Combine( { SharePoint.Tables("https://URL.com/sites/who-we-are/", [Implementation="2.0", ViewMode="All"]), SharePoint.Tables("https://URL.com/sites/tools-to-do-my-job/", [Implementation="2.0", ViewMode="All"]), SharePoint.Tables("https://URL.com/sites/our-locations/", [Implementation="2.0", ViewMode="All"]), SharePoint.Tables("https://URL.com/sites/how-we-work/", [Implementation="2.0", ViewMode="All"]) } ), ...
sevenhills
4 years agoSuper User
You can start with these to get the combined source tables, and second line onwards you have to deal with GUIDs, as it is tough to understand the end goal
let
Source = Table.Combine(
{
SharePoint.Tables("https://URL.com/sites/who-we-are/", [Implementation="2.0", ViewMode="All"]),
SharePoint.Tables("https://URL.com/sites/tools-to-do-my-job/", [Implementation="2.0", ViewMode="All"]),
SharePoint.Tables("https://URL.com/sites/our-locations/", [Implementation="2.0", ViewMode="All"]),
SharePoint.Tables("https://URL.com/sites/how-we-work/", [Implementation="2.0", ViewMode="All"])
}
),
...
- MichaelHutchens4 years agoHelper V
That's super helpful, thanks sevenhills 🙂
- sevenhills4 years agoSuper User
Glad it is helpful.