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 / ColumnHeadersRow is re...
Power Automate
Unanswered

ColumnHeadersRow is returning OLD data as headers

(0) ShareShare
ReportReport
Posted on by

I'm trying to use Power Automate for the first time to scrape a table from a website.  But the headers of the table move around and completely change often.  When I run the scrape on different data (Data with different headers) it's showing the OLD headers, making the whole thing worthless.  I tried clearing the DataFromWebPage variable each run, but while it's setting that variable to 0 it apparently is keeping the ColumnHeadersRow in cache or memory somewhere.

 

I am really surprised that I couldn't find others with this issue (since the functionality is over a year old now) but I can't and I'm hoping there's a setting somewhere or someone can tell me what I'm doing wrong.  

 

Thanks.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @OhMyJosh 

     

    Yes that seems to be a bug

     

    One thing you have to note is while extracting data from webpage, we are adding the column name , so i think it would keep as always 

     

     

  • Tibobago2 Profile Picture
    2 on at

    I came across the same bug. I'm extracting a html table and want to save it as excel. 
    The ColumnHeadersRow keeps the header names from a previous extract, even if I'm using a different variable name before ColumnHeadersRow.

    Is there a way to force the clearing of ColumnHeadersRow?

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Tibobago2 

     

    while saving datatable to excel, if i am right it won't be saving headers , so that you can insert a row at position 0 row index to insert the headers and then after insert it to excel, it become headers.

     

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    You generally define the header names manually when you use the Extract data from Web page action. It does not actually extract column names itself. I suggest you extract those via a separate action and store it into a list that you can refer to.

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 198

#3
David_MA Profile Picture

David_MA 197 Super User 2026 Season 2

Last 30 days Overall leaderboard