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 cell data as variable
Power Automate
Unanswered

Get cell data as variable

(1) ShareShare
ReportReport
Posted on by 297
I have a flow where I'm extracting two tables from a PDF. the first table contains some basic account information. 
 
I need to extract the account number and save it as a variable to use elsewhere. It is always in the same cell in the table (column 2 row 2). How do I extract this? 

I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,204 Super User 2025 Season 2 on at
    In regular Power Automate Desktop flow its very straight forward.  You just use %DataTable[1][1]% to read the second column in second row (its zero index so first row and column is 0). So I think in your case %CurrentTable.DataTable[1][1]%
    Or if you loop it then in currently looped datarow you access the second column like so: %CurrentRow[1]%

    But if you know that the table is always lets say second table then you can remove the for each loop and just extract the value with single set variable:
    %ExtractedPDFTables[1].DataTable[1][1]%
    So thats second tables second rows second column value.

    In Power Fx enabled dekstop flow would use: =ReadCell(DataTable, 2, 2) to read second row and second column (power fx read cell is not zero based index)

     
  • nick9one1 Profile Picture
    297 on at
    thank you. That's exactly what I wanted to know. I can make the flow a lot more simple and remove the loops.

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