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

Get cell data as variable

(1) ShareShare
ReportReport
Posted on by 315
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,476 Super User 2026 Season 1 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
    315 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard