Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.

 

  • syafzulkifli Profile Picture
    12 on at
    Re: How to display selected items in the collection table on the text input

    @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)
  • CNT Profile Picture
    10,919 Super User 2025 Season 1 on at
    Re: How to display selected items in the collection table on the text input

    @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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard