Announcements
Hi Team,
Any idea how to get column Names of a data table.
I need Emp ID and Emp Name. Is there a way to get Columns Names in text or list format?
Hi!
Yes, you can try this:
Variables.CreateNewDatatable InputTable: { ^['EmpID', 'EmpName'], [1, $'''Amlan'''], [2, $'''Sonali'''] } DataTable=> DataTableSET ColumnNames TO DataTable.Columns
Hi JB,
Thanks for your reply. I am asking if I can get the column names of a data table in any way. I know how to create a data table but I want to know how to get column Names.
Hi,
Yes, I am aware of this.
If you use the .Columns property on your DataTable variable, it will result in a list of the column names in your DataTable 🙂
Take a look at this: https://learn.microsoft.com/en-us/power-automate/desktop-flows/datatype-properties#datatables
I got the answer Table.Columns. This is what gave me the list of columns.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Mohsin Ali 299
11manish 274 Super User 2026 Season 2
Henil 119