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 / Defining filename as a...
Power Automate
Unanswered

Defining filename as a parameter for Excel connection

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am new to Power Automate hopefully I have asked my question on the right channel. 

 

I have a system developed via Power Automate. All of the flows use an Excel online sheet to read and update the necessary data. I have one test and one live file. Some of the flows has 20 excel file related steps (get a row, update a row etc.) in the flow so to run the flow with the test file I have to go through every step to change the file name and when the test is successful I have to revert the file name again. 

 

I tried to have some test records on the live file, however this time I need to change get row filters all the time before triggering the flows not to consider the live data and only to cover the test data that I have, it is not something easy to maintain.

 

I am looking for a way that I can define the filename as a variable / parameter, so to run the flow via test file I will not need to change every step to update the file name, one parameter change would be enough to switch between the live file and the test file. Is there any way of achieving this? 

 

Kind regards,

Funda

 

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at

    Hi @Anonymous,

     

    You could use Get file properties action to extract the File identifier, then append it to the File box could approach that.

    PS: The table name should append as a custom value:

    Screenshot 2021-02-02 144849.jpg

     

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

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard