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 / Missing column names i...
Power Automate
Answered

Missing column names in Write to Excel worksheet from SQL data in PAD

(0) ShareShare
ReportReport
Posted on by 2

Hi Folks,

 

When I am trying to write the excel file from SQL query execute step in Power Automate desktop, column headers/names are missing. It is inserting the data from first row. I am performing these actions. Can anyone guide me how to add column names in Excel sheet.

 

rsinha_0-1707160997390.png

 

I have the same question (0)
  • SeanLin Profile Picture
    55 on at

    You need to write the variable "Header" before you write the QueryResult to Excel worksheet.

  • rsinha Profile Picture
    2 on at

    I did try that, but somehow it doesn't work. If you could share some more details or screenshot, that'd be very helpful.

     

    thank you!

  • Verified answer
    SeanLin Profile Picture
    55 on at

    Use "Write to Excel workshhet" function to write the value %Header% into A1 cell of the Excel instance %ExcelInstance% after you lunch Excel.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard