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

Community site session details

Session Id : 6v5FTS3E71rxWZ+/ZQ5mJj
Power Automate - Building Flows
Answered

Add Rows To Excel Table when excel do not exists still

Like (0) ShareShare
ReportReport
Posted on 29 Sep 2019 10:48:49 by 160

I am buildin a flow with the following steps:

1. create one file "Kaupiklis"

2. create second file "Likuciai"

3. then i want to read data from "Kaupiklis"

4. and insert into file "Likuciai"

 

But the problem is that if there is no still file in sharepoint library "Likuciai", how can i build flow?

Can i implement Add rows to table into non existing file?

 

 

 

image.png

  • Verified answer
    v-alzhan-msft Profile Picture
    on 30 Sep 2019 at 08:29:17
    Re: Add Rows To Excel Table when excel do not exists still

    @opit ,

     

    As @Maurits said, you couldn't add rows to table to a non existsing file before the flow runs,  we could only add row to existing file before the flow runs.

     

    Best regards,

    Alice       

     

    Community Support Team _ Alice Zhang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Verified answer
    BusyIntelligence Profile Picture
    312 on 30 Sep 2019 at 07:35:45
    Re: Add Rows To Excel Table when excel do not exists still

    I don't think you can do that using the Excel connectors as the file should exist when designing and the file should exist when Flow starts. If the new filename always has the same location and name, then maybe you can solve this with a nested flow.
    First flow creates the new version of the file and starts the second flow that adds the rows.

     

    You could also do it "the hard way". Not using the Excel connectors, but the graph api's.
    With the graph api's you can modify Excel files using a file id that you could have retreived a step before from a copy or create step.

    I did that recently for the first time. Was quiet hard to find out how the graph api's had to be used, but if your willing to learn I think that's the way to go. Especially when the location and name of the new file is dynamic.

     

    Good luck!

  • Community Power Platform Member Profile Picture
    on 30 Sep 2019 at 06:38:45
    Re: Add Rows To Excel Table when excel do not exists still
    Could you share screenshots of your flow ?
  • opit Profile Picture
    160 on 29 Sep 2019 at 18:19:35
    Re: Add Rows To Excel Table when excel do not exists still

    @Anonymous  I am creating the files. files do not exist on library. And i want after creating the file to update it. But when i choose in Flow Update Rows action I do not get fields which i need to update. If I choose file which already exists on a library then I get these fields  to update (see my screen shot).

     

     

  • Community Power Platform Member Profile Picture
    on 29 Sep 2019 at 17:40:43
    Re: Add Rows To Excel Table when excel do not exists still
    Could you use a condition to check to see if the file exists. If it does then add to it and if it doesn’t then use the create a file one drive action to create and then update it ?

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2