web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / get row values from da...
Power Automate
Unanswered

get row values from data table

(0) ShareShare
ReportReport
Posted on 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! 

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

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

  • UshaJyothiKasibhotla Profile Picture
    229 Moderator on at

    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

  • UshaJyothiKasibhotla Profile Picture
    229 Moderator on at

    @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
    229 Moderator on at

    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.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard