web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How do I add a value t...
Power Automate
Suggested Answer

How do I add a value to a 2D array?

(1) ShareShare
ReportReport
Posted on by 6
I am struggling to do something that I thought might be quite easy. 
 
I have an array called MissingList that I've added several more lists to. 
 
I want to set a particular value in the 2D and have done the following:
 
 
However I get the following error: Parameter 'Into list': Input 'MissingList[1]' can't have trailers.
 
What I might be doing wrong?
Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi,
     
    add items to list add an item to the list, in your case it appends a list to master list. So it should be like below
     
     
     
    If you are planning to update the second element of MissingList - use set variable option to do that as shown below
     
     

    Thanks & Regards,
    Nived N

    Stay connected:
    LinkedIn | YouTube | Blogs

    Was this answer helpful?
    If yes, please mark it as the solution by selecting the checkbox in the discussion thread.
    Your feedback motivates me to keep contributing. Thank you!

     
  • RF-31010754-0 Profile Picture
    6 on at
    Thanks but perhaps I didn't explain myself correctly. 
     
    At the start of the flow, I create a new list called 'MissingList', 
     
    Then in a loop I have the following
     
     
    So I believe that this makes my list called MissingList contain seven lists. What I want to do is to add a value to one of the inner lists - so how do I add an item to the list that is in position 1 in the list called MissingList?
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at
    Hi
     
    For that - you need to use set variable action. see below
     
     
    Here i am adding student list as second element to MissingList variable.
     
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 504 Super User 2025 Season 2

#2
developerAJ Profile Picture

developerAJ 174

#3
Tomac Profile Picture

Tomac 168 Moderator

Last 30 days Overall leaderboard