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 / How can I reference a ...
Power Automate
Unanswered

How can I reference a column value from an extracted datatable?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello, 

 

Trying to create an "if" statement for a looped process based on information in a web-scraped datatable. I've tried the following variable references with no luck:

 (For reference: %WebDataTable% is the variable name for the web-scraped datatable, and %ColumnVariable% and %RowVariable% are variables which return a specific number)

 

- %WebDataTable[ColumnName]% = "Value"

- %WebDataTable["ColumnName"]% = "Value"

- %WebDataTable['ColumnName']% = "Value"

- %WebDataTable[RowNumber][ColumnNumber]% = "Value"

- %WebDataTable[%RowVariable%][%ColumnVariable%]% = "Value"

-  %WebDataTable[RowVariable][ColumnVariable]% = "Value"

 

Just trying to pull all records in the datatable in which the column value I have in mind is equal to specific word - basically a filter of sorts. 

 

Thanks for any assistance. 

 

I have the same question (0)
  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    Hello,

     

    You can turn the column you have the 'value' of into a list, with the activity: retrieve datatable column into list and its values. Where you can filter on column, if the column does not exist it will give an error. But here you can do some try/catch/iferror activities. 

     

    Good luck

     

     

  • Pavel_NaNoi Profile Picture
    1,074 on at

    Its actually so painful that you can't pull out column values out of data-tables, only out of data-rows at the moment 😓

  • ospina_faber Profile Picture
    2 on at

    -  %WebDataTable[RowVariable][ColumnVariable]% = "Value"

    this is the right way, but you need to convert RowVariable to Number, you can use Text To Number Action.
    ColumnVariable would be the name of the column 'ColumnName' or IndexColumn (number).

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
David_MA Profile Picture

David_MA 258 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 198 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard