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 Apps / Creating a collection ...
Power Apps
Answered

Creating a collection from a Sharepoint List Item's MultiValue Column

(0) ShareShare
ReportReport
Posted on by 15

Hello,

 

I am trying to create/update a collection with the values from a SharePoint List item's multi value column, do you think you can help?

 

For example, my sharepoint list "Materials" has 3 columns

Name || Type                         || Date

 

Car     || Metal, Glass             || 10/31

House|| Wood, Metal, Glass  || 10/22

Bat     || Wood                       || 9/20

 

How would I create a collection from only the "Type" column specific to the House item so my new collection would be

newCollection = Wood, Metal, Glass

 

I attempted something like 

ClearCollect(
      newCollection,
      ShowColumns(
                'Materials', "House.Type"
)

 

But no luck. Any help would be appreciated thank you

Categories:
  • DE-23081130-0 Profile Picture
    105 on at

    Hi @nhung7. You can try with a Button in the Gallery Item with this:

    Collect(newCollection,ThisItem.Type))

    Does it work for you?

  • Verified answer
    v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @nhung7 

     

    I have made a test for your reference:

    1.

    vliweimsft_0-1667542276110.jpeg

    2.

    vliweimsft_1-1667542284928.png

    3.

    vliweimsft_2-1667542293064.png

     

    Best Regards,

    Levi

     

     

     

  • DE-23081130-0 Profile Picture
    105 on at

    Hi @v-liwei-msft I have tried with 

    "Collect(newCollection,ThisItem.Type))"

    in OnSelect button, with same results and a more direct syntax. Do you like it?

    Best regards.

    Diego.

  • v-liwei-msft Profile Picture
    Microsoft Employee on at

    Hi @DiegoEscobar2 

     

    I totally agree with you, your formula is also a good option (just needs to add a gallery).

     

    Best Regards,

    Levi

  • nhung7 Profile Picture
    15 on at

    Thanks for this solution @DiegoEscobar2 it works as well

  • nhung7 Profile Picture
    15 on at

    Thanks for this solution @v-liwei-msft. It works well, and I realize now that I am working with a sharepoint Integrated list, so I need to do some workaround to ensure my list form works.

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 Apps

#1
11manish Profile Picture

11manish 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard