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 / How to display selecte...
Power Apps
Unanswered

How to display selected items in the collection table on the text input

(1) ShareShare
ReportReport
Posted on by 12

Hello,

 

I create a form from a sharepoint list. "Action By" column is the person type column and I set the column to multiple selections.

Screenshot 2024-07-10 155411.png

 

All of the data from this form will be stored in the collection and will be displayed in the gallery every time user click on the "add item" button. But the problem I encountered is all of the data are displayed except for the "action by" column (Refer picture below). In the gallery, I used text input to display the selected items.

 

Screenshot 2024-07-10 160234.png

 

On the default property of the text input, I put this code:

Concat(
  ForAll(
    DataCardValue3.SelectedItems,
    DisplayName & ","  
  ),
  ""
)

 

I also notice in the collection table, under the "Action By" column, there is also a table of the person that i chose from the dropdown. I attached the picture for your reference.
Screenshot 2024-07-10 161200.pngScreenshot 2024-07-10 161228.png

 

Right now, i want to display the "DisplayName" in the text input inside the gallery i created. Can someone help me on this?
Thank you in advance.

 

Categories:
I have the same question (0)
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @syafzulkifli 

    Please try the following,

    Concat(DataCardValue3.SelectedItems,DisplayName, ",")

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

  • syafzulkifli Profile Picture
    12 on at

    @CNT 

    It doesnt work 😞

    Everytime i click the add item button, it does not display. Is it because of the collection i created?


    "Add Item" OnSelect property:

    Collect(
        colActivity,
        {
            'No.': Text(Value(Last(colActivity).'No.') + 1),
            Activity: DataCardValue1.Text,
            'Action By': DataCardValue3.SelectedItems,
            'Target/Achievement': DataCardValue4.Text,
            Timeline: DataCardValue5.Text,
            Comments: DataCardValue6.Text
        }
    );
    ResetForm(Form_Activities)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard