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 / problem with multi cho...
Power Automate
Answered

problem with multi choice column data in share point

(0) ShareShare
ReportReport
Posted on by 35

I am using sharepoint list as a data source and I am extracting data with "get items"  then next step I used "select data operation" option when I am going to  to "crate a html table" with output of "select data operation option" . In html table all column are fine expect multi choice column in that column I am getting a Array data instead of sting.

 

please help me out with your solution.

Categories:
  • mahoneypat Profile Picture
    1,720 on at

    You can use the join function in an expression to concatenate the returned values into a text string.  For example, join(item()?['ChoiceColumn'], ', ')

     

    Pat

  • Prem1128 Profile Picture
    35 on at

    I tried with join function but it merger all the data in that array which I don't want in my html table. I need only the Value column in that array data 

    Screenshot (25).png

     

    Screenshot (24).png

  • mahoneypat Profile Picture
    1,720 on at

    My bad.  I assumed it would return the simple form of the array.  I expect it is going to require an Apply to each step with append to string variables.  I reproduced your scenario and tried to directly parse out the Value only but no luck.  Will think on it more.

     

    Pat

  • Verified answer
    mahoneypat Profile Picture
    1,720 on at

    I figured out one way to do it with a single ATE step.  I made a column called MultiChoice to test it out.  Here are the expressions at each step:

     

    Select 2 From - choose your multi-choice column

    Select 2 Map - item()?['Value']

    Compose - join(body('Select_2'), ', ')

    Select3 From - createArray(item())
    Select3 Choice - outputs('Compose')
    Select (at end) From - outputs('Select3')
    Select (at end) Map - item()?['body']?[0]   (switch Map to text mode)

     

    mahoneypat_0-1637238665993.png

    Here is what the output looks like.

     

    [
      {
        "ID": 1,
        "Title": "Test Entry",
        "Choice": "Choice 1, Choice 2"
      },
      {
        "ID": 2,
        "Title": "Another one",
        "Choice": "Choice 3"
      },
      {
        "ID": 3,
        "Title": "Third",
        "Choice": "Choice 2, Choice 3"
      }
    ]

     

    Pat

     

  • Prem1128 Profile Picture
    35 on at

    thank you so much. your really awesome. from 3 days I am searching for this solution but I can't make it. Now I did everything as you said then finally I got what I need. Once again, thank you so much.

  • mahoneypat Profile Picture
    1,720 on at

    Glad it worked.  I learned some new stuff working on it, and may make a video about it to help others.


    Pat

  • Prem1128 Profile Picture
    35 on at

    Do you have a YouTube channel..?

  • mahoneypat Profile Picture
    1,720 on at

    Yes, but it mostly has Power BI content.  I plan to do some Power Automate stuff soon.  It's called HoosierBI and I also have a blog at HoosierBI.com


    Pat

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
11manish Profile Picture

11manish 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard