Skip to main content

Notifications

Power Automate - General Discussion
Answered

How to write data table to excel along with headers

(0) ShareShare
ReportReport
Posted on by 29

Hello all.

I am trying to write a data table along with headers.

However it's writing  data without headers.

I have headrest like A,B and C

Dineshbabu_0-1708415414267.png

 

  • Dineshbabu Profile Picture
    Dineshbabu 29 on at
    Re: How to write data table to excel along with headers

    In this case yes.

    But I am not able to add headers to the excel after extracting data table from web.

     

  • Dineshbabu Profile Picture
    Dineshbabu 29 on at
    Re: How to write data table to excel along with headers

    Thanks for all the responses.

    How to do it in Power automate desktop.

  • Verified answer
    Re: How to write data table to excel along with headers

    Hi @Dineshbabu ,

    Do you want to copy the header of the table to the new table?

    If so, I did a test for your reference.

    I assume the header of my table is:Column1,Column2,Column3

    New Table:

    vyetonggumsft_3-1708418180221.png

    My Flow:

    vyetonggumsft_0-1708417450508.png

    vyetonggumsft_2-1708418085409.png

    vyetonggumsft_4-1708418246047.png

    {
    "Column1":@{items('Apply_to_each')?['Column1']},
    "Column2":@{items('Apply_to_each')?['Column2']},
    "Column3":@{items('Apply_to_each')?['Column3']}
    }

    Best Regards,

    Sunshine Gu

  • Verified answer
    abouchaalaBAIT Profile Picture
    abouchaalaBAIT 930 on at
    Re: How to write data table to excel along with headers

    Hello @Dineshbabu 

    Are specifying the columns names when creating the table ? 

    abouchaalaBAIT_0-1708418226529.png

    ----------------------------------------------------------
    If I have answered your question, please mark your post as Solved. 🆗✔️
    If you like my response, please give it a Thumbs Up. 👍
    You can accept more than one post as a solution.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,508

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard