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 / Display Person Name on...
Power Apps
Unanswered

Display Person Name on Combo box by using of ID

(0) ShareShare
ReportReport
Posted on by 141

Hi, 

I'm struggle to display Person Name on Combobox in gallery. 

On combobox it link to table [Person] from SQL which it list all of person detail include PersonID. 

When I extract the information from [Owner] table which it have PersonID in Stored Procedure. 

So I need to display Person Name on Combobox with match of Person ID. 

How do I achieve it? 


Categories:
I have the same question (0)
  • Ashwin7104 Profile Picture
    671 on at

    Hey @spiderkzn ,

     

    See if the below method works for you,

     

    1) Store the [Person] table to a variable using Set function

    2) Then use LookUp(Personvariable, PersonID = ThisItem.PersonID).PersonName. Assuming [Owner] table is given in Items property of the gallery.

     

    Thanks.

  • spiderkzn Profile Picture
    141 on at

    Hi Ashwin, 

    Your answer is right but almost. As I've figure out. It working. thank you. 

    What I use in DefaultSelectedItems in Combobox and the function is: 

    Table({Value:LookUp(Person, PersonID = ThisItem.PersonID).Person_Name})


  • spiderkzn Profile Picture
    141 on at

    there is other problem. 

    The person name does display on combobox. But the problem is the combobox does not provide the PersonID. how do I ensure Combobox include PersonID? 

  • Verified answer
    spiderkzn Profile Picture
    141 on at

    Just let you know I've solved the problem 🙂 here the solution that it will help other. 

    DefaultSelectedItems = Filter(Person,PersonID=ThisItem.PersonID)

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard