Skip to main content
Community site session details

Community site session details

Session Id : 1nPMHB4+JKZdqlhCckRHj0
Power Automate - Power Automate Desktop
Unanswered

get row values from data table

Like (0) ShareShare
ReportReport
Posted on 20 Apr 2024 12:10:09 by 14

I want to get row values from data table.

Since I want to get multiple rows i am using this syntax - %ExcelData[%rowIndex%]%, but this is not a correct syntax, I don't want to send the index value directly like - %ExcelData[3]% , I want to make it dynamic.

 

PS - Starting with my new journey in Power Automate (PA), I already know UiPath, but things are different here. I’m determined to become a master in Power Automate as well. Cheers! 

  • UshaJyothiKasibhotla Profile Picture
    51 Moderator on 20 Apr 2024 at 14:52:46
    Re: get row values from data table

    Hi @ps_noob_to_pro 

    If your questions is answered and solved then please close the loop by marking the solution and close the loop.

     

  • UshaJyothiKasibhotla Profile Picture
    51 Moderator on 20 Apr 2024 at 13:57:29
    Re: get row values from data table

    @ps_noob_to_pro 

    If you want to loop you can use for each 

    Then there will be current item 

    Currentitem gets the full row and 

    Currentitem[columnindex or columnname].

     

    Hope this helps

    Usha

  • UshaJyothiKasibhotla Profile Picture
    51 Moderator on 20 Apr 2024 at 13:54:28
    Re: get row values from data table

    Hi @ps_noob_to_pro 

     

    The syntax needs row index and column index 

     

    %Exceldata[rowindex][columnindex]%

     

    In this way you need to give the both indexes row index and column index 

     

    Hope this helps

    Usha

  • Deenuji_Loganathan_ Profile Picture
    6,204 Super User 2025 Season 2 on 20 Apr 2024 at 13:52:11
    Re: get row values from data table

    @ps_noob_to_pro 

     

    Please find the some different syntaxes to read datatable values

     

    Fetch DataRow based on Index(Index starts from zero):

     

    %ExcelData[rowIndex]% - This will return the DataRow of your DataTable.

    Deenuji_2-1713622458764.png

     

     

     

    Fetch Specific column value based on Row and column Index (Both index starts from zero):

    %ExcelData[rowindex][columnindex]% - It will return value of specific column

     

    Deenuji_3-1713622569912.png

     

    Deenuji_4-1713622587260.png

     

     

    Using foreach loop:

    Deenuji_1-1713622239167.png

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading started
Loading complete