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 / Combining multi-choice...
Power Automate
Suggested Answer

Combining multi-choice fields from 2 lists

(0) ShareShare
ReportReport
Posted on by 2
I have a Flow that looks up 2 lists and gets the 2 multi-choice fields in a Select action and I have them displaying in Arrays like this:
Select Action 1:
[
  {
    "Name": "Test1"
  },
  {
    "Name": " Test2"
  },
  {
    "Name": " Test3"
  }
]
Select Action 2 (This one gets put in a ""For Each" control for some reason):
[
  {
    "Name": "Test4"
  }
]
How can I combine these into one so that I can use it to Update item in a SharePoint list?
Categories:
I have the same question (0)
  • Suggested answer
    Ellis Karim Profile Picture
    11,735 Super User 2025 Season 2 on at
     
    You can use the union function to merge these two arrays. You can also refine the data by selecting the Switch to Map mode in the Select action to select just the values:

     
     
     
     
     
     
     
     
     
    union(body('Select'),body('Select_2'))
     

     
    Ellis Karim
     
  • CU13011633-0 Profile Picture
    2 on at
    Hi EKarim,
     
    I had to switch "Name" to "Id", so my Select actions look like this:
     
     
    Compose looks like this:
     
    I think I need my Compose to look like this:
    [
      {
        "Id": "90"
      },
      {
        "Id": " 1"
      },
      {
        "Id": " 3"
      },
      {
        "Id": " 2"
      }
    ]
     
    So that I can use it to update a Multi-Choice field in a SharePoint list. 
     
    Is this possible to make it format that way?
     
     

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
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 170 Super User 2025 Season 2

Last 30 days Overall leaderboard