Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Answered

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

 

  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Defining filename as a parameter for Excel connection

    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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics