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

I have the same question (0)
  • Deenuji_Loganathan_ Profile Picture
    6,250 Super User 2025 Season 2 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
    203 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
    203 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
    203 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

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 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard