cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper IV
Helper IV

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

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 II
Super User II

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!

@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:

Get items SP list.Get items SP list.

@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.

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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,789)