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 / Get one table name fro...
Power Automate
Unanswered

Get one table name from multiple tables in excel using power automate

(0) ShareShare
ReportReport
Posted on by 431

Hello Power Users,

 

I have an excel sheet with multiple tables in it. I would like to grab a selected table of those two. I had the actions used as named below.

 

Action One (Trigger) : When a file is created or modified (properties only)

Action Two : Get file content (Site Address, File identifier (Identifier) and infer type (yes)

Action Three:  List rows present in a table. (Location : Site address, Doc library : LibraryName, File : Name from trigger and Table : Variable(TableName)

 

Tried initializing variable with the table I want and inserted in Table in action three. Result : Failed

Tried inserting custom value. Result failed.

 

Can anyone please suggest or best way to handle such cases.

 

Thank you so much in advance!

 

Categories:
I have the same question (0)
  • ManishSolanki Profile Picture
    15,091 Super User 2025 Season 2 on at

    Hi @KrishR 

     

    Pls refer the below sample flow.

     

    Here I have used a variable "ExcelSheetTableName" that stores the table name and set its value as 'Table1':

    ManishSolanki_0-1693968872138.png

    Next, we will use "Get tables" action to fetch all the tables from the excel file uploaded on the SharePoint:

    ManishSolanki_1-1693968997080.png

     

    We will use "Filter array" to filter the table name from the array return by previous step:

    ManishSolanki_2-1693969055458.png

     

    Finally, pass the first element of output of "Filter array" action which gives the name of the table from where data needs to be pulled from. We need to write an expression to get the table name. Expression needs to enter in the expression window as highlighted in the below screenshot:

    ManishSolanki_3-1693969127861.png

    Expression used for getting table name:

    first(body('Filter_array'))?['name']

    This way, you can read the records dynamically from the excel sheet uploaded on the SP library. I hope this will give you some idea to design the required flow.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    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 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