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 / How to get DisplayName...
Power Apps
Answered

How to get DisplayName of all selected users in a variable ?

(0) ShareShare
ReportReport
Posted on by 20

Hi All,

I have made Combobox as People picker and it is multiselect user.

Now on button click, I want to get all selected users with a semicolon and set in a variable. This variable I will use to display on a label control.

Note - I want to display all selected user on a label with semicolon.

 

Thank you so much !!

Categories:
I have the same question (0)
  • Verified answer
    Rajkumar_M Profile Picture
    3,741 Super User 2025 Season 2 on at

    Hi @SKY05 

     

    Button OnSelect Property: Set the OnSelect property of your button to capture the selected users and store them in the variable.

     

    Set(
    SelectedUsers,
    Concat(
    ComboBoxUsers.SelectedItems,
    DisplayName & "; "
    )
    )

    Display the variable on a label: After setting the variable, you can display the selected users on a label using the variable. Assuming the label is named "Label1", you can set its Text property to the variable "SelectedUsers":

     

     SelectedUsers

     

     

    Thanks!

     

    If my response has been helpful in resolving your issue, I kindly request that you consider clicking "Accept as solution" and "giving it a thumbs up" as a token of appreciation.

     

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard