web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using forms to update ...
Power Automate
Unanswered

Using forms to update 1 XlSX file and create another.

(0) ShareShare
ReportReport
Posted on by 2
We are trying to setup a work flow where users will submit and microsoft form. The information form that form will be added as a new row in one spread sheet (running log) and then create and entirely new spread that is save for our developers to use. I has to be a new spread sheet each time. So far we have it pulling the information in to the running log spread sheet just fine. We are then trying to get it to pull the last row out of the XLSX and create a new one. Ive manage to get it to do that but the information is barely read able. 
 
I am using list rows in present table followed by a compose using the following expression.
if(greater(length(outputs('List_rows_present_in_a_table')?['body/value']),0),last(outputs('List_rows_present_in_a_table')?['body/value']),null)
 
I then took that output and used it with the create sharepoint file. 
 
The file is being created but as stated before is not formatted into a table. 
 
 
Screenshot 2024-11-25 114803.png
XLSX.png
Categories:
I have the same question (0)
  • AlexEncodian Profile Picture
    4,409 Moderator on at
    Why pull out the last row...why not just create a new spreadsheet in the same flow in which you are updating the other spreadsheet?
  • DA-25111639-0 Profile Picture
    2 on at
    The devs need a new file with the most recent submission each time one is made. 
  • AlexEncodian Profile Picture
    4,409 Moderator on at
    Yes - I understand the requirement. 

    If you are adding a row to a spreadsheet, then you already have the data in the flow. So the question remains, why are you pulling data out of a spreadsheet. Simply use the data in the flow to create a new separate file.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard