Forum Discussion
Import Multiple SharePoint Lists as One Dataset share
- 10 years ago
So, are they lists or are you talking about something like CSV files in a document library?
If they are SharePoint lists, you can use a modified version of my "Power Query: Merge Queries with M" article.
http://social.technet.microsoft.com/wiki/contents/articles/32915.power-bi-merge-query-with-m.aspx
Essentially, within one query, you define the three sources and append them together. Similar to what you probably have today but it is all in one query.
So, are they lists or are you talking about something like CSV files in a document library?
If they are SharePoint lists, you can use a modified version of my "Power Query: Merge Queries with M" article.
http://social.technet.microsoft.com/wiki/contents/articles/32915.power-bi-merge-query-with-m.aspx
Essentially, within one query, you define the three sources and append them together. Similar to what you probably have today but it is all in one query.
This looks about right. I'll give it a go next week and let you know how I get on.
Thanks,
mjholland
- mjholland10 years agoAdvocate II
I've found a way to do this without having to go in to any M language ...
- I linked to one of my lists in SharePoint and imported it in PowerQuery
- Then I selected the cog next to 'source' on the Query Settings panel. This shows up all the lists that appear in my SharePoint site
- From there I removed rows of lists I didn't need
- Then I expended the table column to reveal the fields in each SharePoint list
- When I did this it merged my lists together
It works a treat.