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 / 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:
I have the same question (0)
  • 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

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