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 / List Rows Present In A...
Power Automate
Unanswered

List Rows Present In A Table

(0) ShareShare
ReportReport
Posted on by 271

Hi all,

 

I am building a flow and I just cannot get this element of it to work. 

 

My end goal is to automatically email all entries in the table when a new file is saved (so the file name is dynamic) but I cannot get this element to achieve what it needs to. 

 

I cannot work out the expression required to specify the correct table within the sheet once it gets to this stage. The tables is called Email_List. 

 

Is anybody able to help?

 

Flow so far is below:

 

Gwill1983_0-1637235566885.png

 

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!
    Have you inspected the output of 'Get tables'? Can you share a screenshot from it?
    Also, can you share th current expression you are using? THe first() based expression, I mean
    Finally, the excel file you are wirking with does have a single table, right?
    Thanx!

  • Gwill1983 Profile Picture
    271 on at

    Hi,

     

    Very new to power automate so will do my best to explain.


    The outputs from the 'get tables' section is huge! Is there a specific section you want to see?

     

    The expression that I am using is first(outputs('Get_tables')?['body/value'])?['id']

    This is bringing up an error that says No table was found with the name '{45130758-0813-4D99-9AE4-3E076A831CAB}'.
    clientRequestId: 303a145f-7bbe-4a3b-a215-742f4e3672a9
    serviceRequestId: 476b0d54-f30d-4863-b31e-9ecd5c5092ad

     

    The spreadsheet will have multiple tables in it (around 6)

     

     

     

     

     

  • efialttes Profile Picture
    14,756 on at

    @Gwill1983 wrote:

    The expression that I am using is first(outputs('Get_tables')?['body/value'])?['id']

    Hi!
    No problema. I would try with name attribute instead

    first(outputs('Get_tables')?['body/value'])?['name']

    Hope this helps

     

  • Gwill1983 Profile Picture
    271 on at

    Apologies. When you say use the name attribute, do I enter the name of the table where you have added 'name' into the expression? 

     

  • efialttes Profile Picture
    14,756 on at

    Hi!
    Just replace the expression you are using and use this instead

     

    first(outputs('Get_tables')?['body/value'])?['name']

     

    With the one you are currently using you obtain the 'id' of the first table from 'Get tables' outputs -no idea how Microsoft sorts them,so it's unclear to me if it is the one you expect-, and this new one provides the 'name' of the first table instead.
    Hope this helps

  • Gwill1983 Profile Picture
    271 on at

    Thank you. 


    Apologies for so many questions. 

     

    How do I adjust this expression to show a different table? This pulls through as trying to find my table named Raw_Data (which is on my first tab in the spreadsheet). The table I need to reference is Email_Data which is on the fourth tab.

     

    This is a nightmare!! 🙂

  • Verified answer
    v-JessicaG-msft Profile Picture
    on at

    Hi @Gwill1983 ,

     

    Do you want to output the data of the fourth tab in the table?

     

    You could try this expression:

     

    outputs('get_tables')?['body/value']?[3]?['name']

     

     

    I have test for your reference, please refer to the screenshot below:

    vJessicaGmsft_0-1637752062782.png

    vJessicaGmsft_1-1637752205239.jpeg

    vJessicaGmsft_2-1637752213593.jpeg

     

    Best Regards,

    Jessica Gu

  • dcrow Profile Picture
    3 on at

    This worked for me.....FINALLY!
    Thanks @efialttes 

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