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 / add item into certain ...
Power Automate
Unanswered

add item into certain position in list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone, 

 

I am looking for a way to add item into the list and set it into certain position

 

 

let's say i have a list [A,A]

 

i want to add D between A and C so it should be [A,D,C]

 

is there anyway to place it like above in PAD?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    sorry there is typo 

     

     

    let's say i have a list [A,C]

     

    i want to add D between A and C so it should be [A,D,C]

     

    is there anyway to place it like above in PAD?

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    I'm not sure of a way, but here's a workaround. Not sure how practical this is, or if it could work in your case, but:

     

    ryule_0-1660658273091.png

     

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Write List to Excel

     

    Use PAD/Excel or Send Keys features to insert row at point where you want to insert the item into the list

     

    Read from Excel

     

    Good luck!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi everyone

     

    thank you for your suggestion

     

    i managed to arrange the order of list by creating data table first and then convert it to list.

    this may not the best method but it does what i want.

     

     

    what i did are below.

     

    1. Create data table with number of column you like 

    2.create and add value to a list (this is the first list)

    3.create and add value to a list (this is the second list)

    4. insert first list to data table

    5.insert second list to data table and make sure to give it instruction what number of row to insert the second value, this will alter the order of data table items

    6. convert data table to list 

    7. you are done 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard