cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Panri93
Regular Visitor

Reading files from SharePoint and changing format files

Good morning to everyone,

 

I've a set of files allocated in SharePoint. Those files are .xls files, which means, Excel 97-2003. Due to a variety of reasons I'd like those to be converted to .xlsx format. My question is, is there any way to read those files using Power BI and convert them to .xlsx before importing them into tables?

 

Many thanks

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

Three potential approaches to consider:

1. Use the xls files in Power BI as is (be aware that xls can be a problem - Avoid Using Excel XLS Files As A Data Source — ehansalytics

2. Use Power Automate Desktop to create a UI flow to batch convert them

3. Use R or Python to do it (technically you could do it through the R/Python integration in Power BI Desktop to read in the xls file and write xlsx to local disk, but it wouldn't be part of normal refresh).

 

Pat

 

Microsoft Employee

View solution in original post

2 REPLIES 2
Panri93
Regular Visitor

Thank you! Finally we coded a Python script 🙂

ppm1
Solution Sage
Solution Sage

Three potential approaches to consider:

1. Use the xls files in Power BI as is (be aware that xls can be a problem - Avoid Using Excel XLS Files As A Data Source — ehansalytics

2. Use Power Automate Desktop to create a UI flow to batch convert them

3. Use R or Python to do it (technically you could do it through the R/Python integration in Power BI Desktop to read in the xls file and write xlsx to local disk, but it wouldn't be part of normal refresh).

 

Pat

 

Microsoft Employee

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors
Top Kudoed Authors