cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
simonakj
Level: Powered On

Simple MS Flow to create excel file in SharePoint = always corrupted file

Hi everyone,

 

I have created a very simple flow to query SharePoint list and then populate the results into the excel file. I'm easily able to do it with .csv file but my customer doesn't like it because he needs to expand all columns manually 🙂 So I wanted to do the same but create an .xlsx file, but whatever file content I put into the property, I'm never able to open it in Excel online or desktop app.

Any help would be greatly appreciated. 

 

The main steps of the flow are:

  1. Multiple SharePoint 'Get Items' queries to get list items.
  2. 'Create CSV table' for each query to format the results.
  3. Create .csv file (works!) and .xlsx file (no luck) populated with the query results.Step1.png

     

    Step2.png

     

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Simple MS Flow to create excel file in SharePoint = always corrupted file

hI @simonakj 

 

Check this thread

 

https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-convert-a-CSV-file-to-Excel/td-p/...

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Simple MS Flow to create excel file in SharePoint = always corrupted file

hI @simonakj 

 

Check this thread

 

https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-convert-a-CSV-file-to-Excel/td-p/...

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,721)