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 / Variables to multi-cho...
Power Automate
Answered

Variables to multi-choice column in sharepoint list

(1) ShareShare
ReportReport
Posted on by 10
I am have 8 variables containing text strings (coming from a MS Form) and I want to populate one single multi-choice column in SharePoint with each of the variable contents.  I'm struggling with the logic of this.
 
This is an example of one of the variables:
 
 
This is how it should appear in the list:
 
The list field is already multi-choice and the ms form has 8 questions which must always be answered to be able to submit
I know I need to do something with json and arrays but I'm struggling with getting that to work
 
  Can anyone help? 
Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,891 Most Valuable Professional on at
     
    You can use a createarray function to turn the variable values into an array. Use that function in a Select action so you can also add the value key in the array. This way it should be formatted correctly for your multi-choice field.
     
    Below is an example
     
    1. Select From uses the below in the From field
    createArray(variables('VarA'),variables('VarB'))
     
    2. Map field uses the value key and 
    item()
     
    3. The multi-choice field (TestChoice) is switched to entire array input with the button on the right side and uses the output of the Select action.
     



     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • trice602 Profile Picture
    16,298 Super User 2026 Season 1 on at
    Very nice @Expiscornovus
  • LC-09011551-0 Profile Picture
    10 on at
     
    thanks for giving me something to work with.  I also tried this which worked in the end:
     
     
    once I figured out that the variables were already "strings" and didn't need any conversion from an array.  I think I over-complicated it!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard