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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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.

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.

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!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.