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 / Is it possible to acce...
Power Automate
Answered

Is it possible to access data table columns by name in PAD?

(0) ShareShare
ReportReport
Posted on by 4

Hi,

 

I'm trying to access the columns of a data table by name.

The official documentation says the following:

 

If you want to access a specific column in a datable that contains column headers, use the %ExcelData[rowNumber]['ColumnName']% notation.

 

This is obviously nonsense, since if we filter by column AND row, we end up with a cell, not a column.

 

I tried a bunch of stuff like using [:] for row numbers or even [0:{number of rows here}] but it seems as soon as you select more than one row, PAD hits you with the following error:

 

Variable 'DataTable[:]' doesn't have a property 'ColumnName'.

 

I mean I know I can build a workaround by searching for the index of the column name in DataTable.Columns and then accessing the column via that index, but this just seems unnecessarily complicated. Am I missing something?

  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    There is an action. I believe it is “get column as list” or something like that. This extracts an entire column from a datatable into a list. And you should be able to use the same syntax without a row. 

    good luck!

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The action you need is called Retrieve data table column into list. You can use a column name in it to retrieve the entire column into a list variable.

    -------------------------------------------------------------------------

    If I have answered your question, please mark it as the preferred solution.

    If you like my response, please give it a Thumbs Up.

     

    If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard