Notifications
Announcements
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
Hello @KayBains ,
there's an action 'Create CSV table' in Power Automate that will convert any array into a csv format.
You should 'List rows present in a table' (the original Excel file must have the data inside a table) to get all the rows from the Excel file, 'Convert CSV table' to convert the output from the 'List rows...' into a csv format, and then create a file from the data provided by the conversion.
what if you do not have table in xlsx. how you going to proceed? And also what if the file is in sharepoint?
This only works with .xlsx files. There is no way to work with a .xls file in microsoft power platforms and they offer no way to convert with flow. This needs to be addressed!
Hi all,
I tried this and it converted the xlsx to csv, however about 200 of the records in the original xlsx were missing in the csv output. My Excel data are formatted as a table. Any help would be appreciated!
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.
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.
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
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.
Hello,It works, however it is only copying 256 lines in the created .csv file. Any idea why and how to resolve it?
Hi @gr962x,
I just encountered this same issue and found a solution from OptimalBI:
Late response, but hope this helps!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional