Hi
Would anybody have a template or know how one would convert xlsx. or xls files to csv files in a Sharepoint Document Library.
When a xlsx or xls file is uploaded into a Shareppint Document Library - it is converted to a csv file
Thanks!! It solved my problem
Hey !
I'm sorry, it's been a really long time but here is what we could achieve :
We had to incorporate a table into the CSV.
Yhe one I'm showing you is the test that worked, in production it's a more complicated flow, I did not want to explain everything here 😄
So, here is the little step by step :
=OFFSET('ColumnName'!A1,0,0,SUBTOTAL(103,'ColumnName'!$A:$A),10)
Be careful : we could do this because the xlsx file structure is always the same. The number of lines changes but not the number of columns.
Then :
Hello @szefco ,
Your solution does not work for me : when opening the .csv file, nothing is encoded correctly, see screenshot (I have not opened this file with Excel prior, here how it does behave on notepad++ :
When opening on Excel (web or Desktop), i have an error stating this is not a right format but the data is still there :
Here is my flow:
Because we will be feeding an app with the .csv format, it has to be pristine.
@Heliant , did your find another solution ?
Do you have any other idea on how to convert an Excel file without table from xlsx to csv format ?
Thanks a lot
Hi @gr962x,
I just encountered this same issue and found a solution from OptimalBI:
Late response, but hope this helps!
Hello,
It works, however it is only copying 256 lines in the created .csv file. Any idea why and how to resolve it?
I believe Microsoft will eventually stop supporting .xls format, as Excel began using the .xlsx format with Excel 2007. It doesn't make sense to invest development dollars in legacy formats, so I wouldn't look for a native Microsoft .xls connector any time soon. That being said, there are many legacy systems still putting out the .xls format, and most of those do NOT support using Excel Tables as many OOB connectors require.
There are several commercial providers that have single step actions to convert; I have been using one of them for a couple years now to convert .xls to .csv with very good results. Some providers include Plumsail, Encodian, and Cloudmersive. Most of these you can find by just scrolling through the list of available actions when building your flow.
Hi
For me converting excel to csv works if i create table in excel but while conversion it add 2 new columns
@OData.etag
ItemInternalId
How should i remove them before writing the output file to my azure storage.
Regards
Shilpi
Thanks so much! I will give this a try in a few minutes. Per the action, the default is "all" but maybe that's not accurate.
Hello @tabrams ,
try to go to the 'advanced options' in the 'List rows in a table' action and put some number in the 'Top Count' field, e.g. 1000. I think the action will return only 100 rows by default.
stampcoin
61
Michael E. Gernaey
47
Super User 2025 Season 1
rzaneti
31
Super User 2025 Season 1