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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Mahadevaraobc
Helper II
Helper II

Get data from multiple files on SharePoint folder

Hi,
I have a SharePoint folder which has multiple Excel files and each files has 3 worksheets and only 1 sheet has rawdata. Each rawdata is about 1 million records.
I would like to know how to combine all the rawdata to 1 file which I can use to visualize in pbi.
1 ACCEPTED SOLUTION
venal
Memorable Member
Memorable Member

@Mahadevaraobc 

Please refer the link.

Refer one more link for reference.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more

If this post was helpful may I ask you to mark it as solution and give it some kudos?

View solution in original post

2 REPLIES 2
mwimberger
Resolver II
Resolver II

Hi @Mahadevaraobc 

 

great reply from @venal . What I have found in my experience is the combine binaries ( and the associated custom function / helper queries ) can slow the upload down quite a bit. And it makes it quite messy if you have many of these loads to do with a big ETL. 

 

 

So I went looking for a better method a while back and I found one from Ruth at Curbal.

Curbal Mutiple Files from Folder 

 

let
Source = SharePoint.Files("https://XXXXXXX", [ApiVersion = 15]),
#"Added Custom" = Table.AddColumn(Source, "Custom", each Excel.Workbook ([Content])),

in
#"Added Custom"

 

The gist is to adjust the M code to something like this: ( Where XXXX is your sharepoint location)

 

 

 

This allows for a faster and cleaner load of the files ( when there are a whole bunch)

 

Hope this helps with the solution down the track.

 

Manfred

venal
Memorable Member
Memorable Member

@Mahadevaraobc 

Please refer the link.

Refer one more link for reference.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more

If this post was helpful may I ask you to mark it as solution and give it some kudos?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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