web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ComboBox with text fie...
Power Apps
Answered

ComboBox with text field value autofill with defaultselected items

(0) ShareShare
ReportReport
Posted on by 103

I have a combobox that is helping to filter a gallery and it is based on a text field in SP. I want to be able to autofill this combobox when a user comes to this screen while they are in edit mode for a project. I have tried this and its returning a table, but nothing shows. 

Here is my code for the items property of the CB:

 

Filter(Distinct('External Person or Entity'.'State/Province','State/Province'),!IsBlank(Result))

 


And here is my current defaultselecteditems property

 

If(!IsBlank(LookUp(Transactions,'Request ID' = var_selectrequest_id).'External Person/Organization'),
Filter('External Person or Entity',EPO_Search.Text in Title).'State/Province',Blank())

 

 

Categories:
  • Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    Please try this code just used "=" instead of "in"

    If(!IsBlank(LookUp(Transactions,'Request ID' = var_selectrequest_id).'External Person/Organization'),
    Filter('External Person or Entity',EPO_Search.Text = Title).'State/Province',Blank())

     

    MananMalhotra_0-1664513399172.png

    Tried a simple filter from my side, seems to be working 

  • Bhanes22 Profile Picture
    103 on at

    This is still not working for me, and its because of the distinct function I have in the items property, any thoughts on getting around this?

  • Verified answer
    Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

    I think you might be right, let try another way

     

    If(!IsBlank(LookUp(Transactions,'Request ID' = var_selectrequest_id).'External Person/Organization'),
    RenameColumns(Filter('External Person or Entity',EPO_Search.Text = Title).'State/Province',"State/Province","Result").Result,Blank())

     

    Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

    Want to support me! Buy me a Cup of Coffee?

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard