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 / Need some help with Lo...
Power Apps
Unanswered

Need some help with Lookup Dropdown Selected

(0) ShareShare
ReportReport
Posted on by 112

I've got a dropdown combo box in my Power App called "Location".  On an edit screen I would like to set this dropdown default to the users current OfficeLocation value from the Office365USers connector. 

 

I have a variable which contains the user's OfficeLocation value that is returned from the Office365Users connector.  

varSelectedPersonValue.OfficeLocation contains the value text.

 

But the dropdown box is expecting a table.  How can I do a lookup to set the default value to whatever the varSelectedPersonValue.OfficeLocation is?

 

Thank you!

Categories:
I have the same question (0)
  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at

    You haven't said what the Items property of this combo box is, so can't give any specific advice, but the long and short of it is you'll need to construct an object with the same schema as the table you're using as the combo box's Items property and use that in the Default property, or convert to a single item array in DefaultSelectedItems (depending on whether you have SelectMultiple set to false or true)

  • greddin Profile Picture
    112 on at

    I ended up resolving my issue with the following formula:

     

    LookUp(Choices('List Name'.ColumnName),Value="choice value here")

     

    Thanks

  • WillPage Profile Picture
    2,307 Super User 2025 Season 2 on at

    Perfect.

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