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 / Column names "In inser...
Power Automate
Suggested Answer

Column names "In insert row into data table" or "Set variable"

(1) ShareShare
ReportReport
Posted on by
Power automate desktop - Column names "In insert row into data table" or "Set variable"

Hi all

I'm a newbie in power automate, and I'm trying to create a flow that will save me from having my brain fried everyday by repetitive tasks
 

I'm trying to to insert a new row into an existing data table. The catch is that I'm trying to use column names in my expression, and for the life of my, I cannot find how to do that online
Each data row will contain over 15 columns for me, I need to be able to keep track of column in the expression
 

I know how to create a new row, without column names using the "set variable function/insert row functions": (EG. %DataTable + ['1', '2']% // "%['1', '2']%)

Ideally my syntax would look something like "%DataTable + [DatabaseColumn1:'1', DatabaseColumn2'2']%
 
Is this possible?

I've literally been at this for over 2 hours, any help appreciated
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,484 Super User 2026 Season 1 on at
    When you insert a row in to datatable you need to give all the columns some value. I recommend first using "Insert row into datatable" -action where you give all the columns a default value or just empty string ''
    Then use "Update data table item" -action to update certain column in the row.


    In this example I use "Insert row into data table" -action to insert empty values to a datatable that has 7 columns. So the syntax is seven times empty string: %['', '', '', '', '', '', '']%
    Then I use update table item to the datatable where I get to refer to the column by its name (Column6).


    Result:
  • Suggested answer
    AK_RPA Profile Picture
    7 on at
    Hi,
     
    You can refer to this ms learn document. This will give you more clarity on creating, updating data tables using set variable action.
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard