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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a copy of an ex...
Power Automate
Unanswered

Create a copy of an excel file, then write a series of rows into the table to the copy

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am trying to generate an excel report based on an excel template using Microsoft Flow.

I have a reference excel spreadsheet, that will be copied into a separate file. This template has a table called DataTable that will be written to and used to display some fields for the report.

 

When the new copy is made, I would like to write some rows to this new copy's DataTable.

 

The template will have some lookups for the table that will display some data for the rows.
Ideally, the file can then be emailed, but I should be able to manage that, getting stuck on making a copy and then writing some rows to that file.

 

FieldData
Field 1Data 1
Field 2Data 2


FlowFlow

 

Thanks!

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Currently one of the limitations of the excel connectors is that you cannot pass the file name / table names dynamically,, referenced from variables etc. You have to select the file by clicking the folder icon and then manually selecting the file and then the table from the drop down. (In short, you cannot refereence to the file you are creating in this flow itself and the excel file should be already present at the source from where you want to access it). 

     

    Hope this Helps!

    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!

  • Community Power Platform Member Profile Picture
    on at

    Hi @yashag2255 ,

     

    Thank your for your response.

    Are there any workarounds to this or solutions using other microsoft services?

    Thanks!

  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    HI @Anonymous 

     

    As of now no, We can expect the new relases to include this feature. Meanwhile you might check:

    http://johnliu.net/blog/2019/5/workarounds-needed-to-use-the-excel-connector-in-microsoft-flow

     

    And this thread too:

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Can-t-set-dynamic-quot-file-quot-value-for-ex...

     

    Hope this Helps!

    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!

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard