Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Pull Employee Name from Gallery to Combo Box

(0) ShareShare
ReportReport
Posted on by

Hi Community !
Hope Everyone is doing Well.
I'm New to Power apps and Do not know much about it. 
I tried to put all the information required, but please contact me if any thing else is needed.


I have a Power app with a Gallery connected to a SP list.
In that Gallery I show Employee Name (Which is a Person field in SP list) Followed by His Work.

My requirement is to Show the Selected Employee Name From gallery1 into  a Combo Box but its giving me error.
The below is the formula for the Employee Name field for Gallery

 

ThisItem.Employee.DisplayName

 

 

This is the Code for Default Property of the Combo Box 

 

Gallery3.Selected.Employee.DisplayName

 

Harika_1_0-1703033652653.png


This is the Error I'm getting 

Harika_1_1-1703034013092.png


Kindly help me Regarding this Issue.
Your Help is much appreciated.
@Rajkumar_404 

  • Harika_1 Profile Picture
    on at
    Re: Pull Employee Name from Gallery to Combo Box

    @v-bofeng-msft 

    Thank you so much It worked like a WOW!!
    Much Appreciated.

  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Pull Employee Name from Gallery to Combo Box

    Hi @Harika_1 ,

     

    Please try:

    1\Set the combo box's Items property to

    Choices(ListName.Employee)

    2\Set the combo box's DefaultSelectedItems property to

    Gallery3.Selected.Employee

     

    Best Regards,

    Bof

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,658 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