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

I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

 

- Save file as .txt file works. <-

- Save file as .xlsx DOES not work... <-

 

xlsx.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

You can create a CSV file using the Create file action. You can create an Excel file, but you then have to create the table, and insert each row into the table, which would look something like this: 

CreateXLSXCreateTableFromList.PNG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
Super User
Super User

Re: I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

The problem is that the Create file action only supports text-based file creation (txt, csv, etc.). You'll need to start with a blank/empty .xlsx file, create a copy of that, populate the name dynamically, and save the file. 

Then you'd need to use the Excel connector to add rows to the table in the dynamically created .xlsx file. The problem with this will be reliability, because the Excel connector has many Known issues and limitations

With that said, the Plumsail Documents connector can cut down a number of these steps.  See their How to create Excel XLSX document from template in Microsoft Flow, Azure Logic Apps and PowerApps do... for more info.

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

ahmadbutt
Level: Powered On

Re: I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

@Brad_Groux Thanks for helping me. See screenshots, can you maybe show with pictures what u mean, so I can understand it better. This is what I got now: 

 

1e.PNG2e.PNG

 

SP list:

4e.PNGGet items SP list.

ahmadbutt
Level: Powered On

Re: I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

@Brad_Groux  Is there other file types that I can use instead of .txt with the create file action. I need something like Excel so I can save the file.

Highlighted
Super User
Super User

Re: I can't save a file as .xlsx type (Excel file), is this not possible? (see screenshot)

You can create a CSV file using the Create file action. You can create an Excel file, but you then have to create the table, and insert each row into the table, which would look something like this: 

CreateXLSXCreateTableFromList.PNG

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

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!

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 Solution Authors
Top Kudoed Authors
Users online (5,342)