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 / Select specific row an...
Power Automate
Unanswered

Select specific row and column data from HTML table

(0) ShareShare
ReportReport
Posted on by 10

Hi All, 

 

I've been watching https://www.youtube.com/watch?v=i4GHCGMAD88 and this has helped me get some data from a HTML table in an email. However, I have run into and issue that I can't seem to fix. 

 

So far I have gotten to the SelectRowsFromHTML 

Screenshot 2023-09-12 at 7.49.43 pm.png

Screenshot 2023-09-12 at 7.54.33 pm.png

with the value being an expression -

xpath(xml(outputs('ComposeHTML')),'//table[1]//tr[13]/td[2]//text()')?[0]

 

However, when I test this, I get 17 rows in the ComposeCountRowsMinusOne and when I go to select the row/column etc, It populates all 17 with the data from row 13. 

 

I just want to select the data in that specific row and column. 

 

Any advice would be much appreciated. 

 

Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,672 Super User 2026 Season 1 on at

    Your xpath expression looks weird. Did you mean '//table[1]/tr[13]/td[2]/text()' ?

  • sglund Profile Picture
    10 on at

    Hi @Chriddle - unfortunately it returns Null - if I do not have '//table[1]//tr[13]/td[2]//text()')?[0] with the double / 
    in that youtube clip, there was a comment that mentioned they needed to use the // to get results.

     

     

  • Chriddle Profile Picture
    8,672 Super User 2026 Season 1 on at

    If you show me your HTML, I might be able to help.

  • sglund Profile Picture
    10 on at

    @Chriddle - I've attached an xlsx that has the html code I am currently using. 

    This HTML code forms the table inside an email - the body of that emails is where i am trying to extract specific data from to then use that in our internal ticketing system. 

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard