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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
PabloML
Regular Visitor

Speed-up a query to retrieve Excel tables from sharepoint

Dear all,

 

I have a query that the latest step takes about 6/7 min. to load. I was wonder if I could do it differently and speed-up the process:

let

    Source = SharePoint.Files("sharepoint....", [ApiVersion = 15]),

    OnlyXLSXFiles = Table.SelectRows(Source, each ([Extension] = ".xlsx")),

    WorkbooksContent = Table.TransformColumns (OnlyXLSXFiles, {"Content", each Table.SelectRows(Excel.Workbook(_) , each [Kind] = "Table" )})

In

WorkbooksContent

 

Thanks.

1 ACCEPTED SOLUTION
jennratten
Super User
Super User

If various sheets are not essential then you can try saving the file as a .csv - those are faster typically than Excel files.

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

View solution in original post

2 REPLIES 2
jennratten
Super User
Super User

If various sheets are not essential then you can try saving the file as a .csv - those are faster typically than Excel files.

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Hi @PabloML Have you had a chance to take a look at this?  Please consider clicking Accept as Solution if this answered your question.  Thanks!

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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