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 / Add column names to da...
Power Automate
Unanswered

Add column names to datatable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello!

 

I am trying to filter a excel worksheet with huge data, so i tried filtering this using open sql connection and passing my file as a OLEDB connection string and wrote a filter statement using execute sql statement everything runs smoothly except i am unable to get column headers in the output query datatable.

 

Any help on this much appreciated.

 

Thanks

Categories:
  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    Can you show a sample query?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    SELECT *
    FROM [Table]
    WHERE [Column] <> 'xyz' and [Column] <>'xyz' 

  • lbendlin Profile Picture
    8,726 Super User 2026 Season 1 on at

    I tried to reproduce this but I get an error 

     

    Gateway GetPassThroughNativeQueryMetadataAsync - this operation (Execute Native Sql) is currently not supported using an on-prem gateway connection

     

    Please show your flow.

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard