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 / insert row into datata...
Power Automate
Suggested Answer

insert row into datatable error

(0) ShareShare
ReportReport
Posted on by 52
i have created a Datatable with 2 columns and i need to insert values into it from variables in POWER AUTOMATE DESKTOP .
 
but when i am trying to use the below expression , it says invalid syntax.
 
%{[%VAR2%,%VAR1%]}% .
 
ALSO TRIED BELOW EXPRESSION BUT STILL IT DOES NOT WORK.
 
%{[VAR2,VAR1]}% 
insert row into DT.png
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,522 Super User 2026 Season 1 on at
    Use Insert row into data table -action instead.


    or if you prefer to use Set variable -action then the syntax is like so: %DataTable + [VAR2, VAR1]%



    Always use the wrapping percent signs only once or it will give syntax error.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard