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 Apps / Duplicate collection r...
Power Apps
Answered

Duplicate collection record based on multi-select people picker

(0) ShareShare
ReportReport
Posted on by 65
Hi all,
 
I have a gallery of data (from a SharePoint list) and within is a checkbox. Oncheck collects that data, UnCheck removes it, etc.
 
However, one of the fields is multi-select person column, so obviously my collection stores all the names in the single record as it should.
 
My question is, is there a way to create a collection that counts the number of rows for that column, the loops through and created duplicate rows of the same data (essentially splitting the people person column into its own row for each person?)
 
Any help would be appreciated it. I thought it was count rows, then a sequence loop but I think I am over engineering the issue.
 
Cheers,
 
DW
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,721 Most Valuable Professional on at
    Hi DMSC
    You have not included any code here, but if you want a count of rows in your gallery with a separate record for each item in a multi-value field
    CountRows(
       Ungroup(
          GalleryName.AllItems,
          MultiValueFieldName
        )
    )
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee
  • DMSC Profile Picture
    65 on at
    Thanks WarrenBelz 
     
    I woke up this morning and just realised something similar but you beat me to it! 
     
    Much appreciated as always! 
     
    DW

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 372 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 303 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 238 Super User 2026 Season 1

Last 30 days Overall leaderboard