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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Automatically assign a default Combobox value in a form

(0) ShareShare
ReportReport
Posted on by 438

Hi I am building a permit management app and on my "OpenNewPermit" screen I have a form, linked to a sharepoint list, in which I want to set a default value of "Open" for the status. When I have put the field into the form it has automatically assigned a Combobox and I have used the following formula in the Items  property -   Filter(Choices([@'Permit Tracker'].Status),ThisItem.Status="Open")

 

Alas this isn't working and any help would be much appreciated.

I have the same question (0)
  • WarrenBelz Profile Picture
    152,811 Most Valuable Professional on at
    Re: Automatically assign a default Combobox value in a form

    HI @nshaw75 ,

    If you simply want "Open" as the Default choice, in the DefaultSelectedItems of the Combo Box

    {Value: "Open"}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • nshaw75 Profile Picture
    438 on at
    Re: Automatically assign a default Combobox value in a form

    Hi @WarrenBelz 

    Thanks, I am getting an error still. Incompatible types for comparison. It suggests I convert the value 🤔 I am assuming this may be to do with it being a Choice field.

  • Verified answer
    WarrenBelz Profile Picture
    152,811 Most Valuable Professional on at
    Re: Automatically assign a default Combobox value in a form

    @nshaw75 ,

    The Items should be

    Choices([@'Permit Tracker'].Status)

    and the DefaultSelectedItems (as I posted)

    {Value: "Open"}

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • nshaw75 Profile Picture
    438 on at
    Re: Automatically assign a default Combobox value in a form

    Fantastic, As soon as I saw saw your solution, I realised I had made the schoolboy error of deleting my formula and replacing it with the default one .

    Thanks again @WarrenBelz 

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

Coming soon: forum hierarchy changes

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 314 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 253 Super User 2025 Season 2

Last 30 days Overall leaderboard