Notifications
Announcements
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?
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.
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})
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?
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 796 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
Power Platform 1919 268