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 / 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,434 Super User 2025 Season 2 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,434 Super User 2025 Season 2 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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard