Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

Insert row into data table

Like (2) ShareShare
ReportReport
Posted on 4 Aug 2022 11:10:50 by 15

Hello,

 

I'm trying to insert row into data table when there is two columns and I'm not able to do that I'm facing this error:

The amount of values provided to be added (1) don't match the columns of the data table (2).

How I can specify column with this command?

79_0-1659611373435.png

Thank you.

  • ryule Profile Picture
    927 Super User 2024 Season 1 on 08 Aug 2022 at 14:27:28
  • Verified answer
    Community Power Platform Member Profile Picture
    on 08 Aug 2022 at 11:25:48
    Re: Insert row into data table

    hi @79 

     

    Try this

    This is values for three columns 

     

    kennyk57_0-1659957826899.png

     

  • Verified answer
    VJR Profile Picture
    7,635 on 05 Aug 2022 at 03:06:05
    Re: Insert row into data table

    Absolutely, you can add a variable instead of a direct value but the variable needs to be used in the right syntax.

    This is a 2 column datatable and InputVariable1 and InputVariable2 are two different variables.

     

    Set Variable:

     

    VJR_0-1659668719183.png

     

  • ryule Profile Picture
    927 Super User 2024 Season 1 on 04 Aug 2022 at 14:27:53
  • 79 Profile Picture
    15 on 04 Aug 2022 at 11:33:41
    Re: Insert row into data table

    but is it possible to insert variable not value in this case?

  • VJR Profile Picture
    7,635 on 04 Aug 2022 at 11:18:38
    Re: Insert row into data table

    Hi @79 

    This post should answer how to insert row either using List or a datarow, if not then a variable using + character.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard
Loading started