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 / Automatically assign a...
Power Apps
Answered

Automatically assign a default Combobox value in a form

(0) ShareShare
ReportReport
Posted on by 440

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.

Categories:
  • WarrenBelz Profile Picture
    156,940 Most Valuable Professional on at

    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
    440 on at

    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
    156,940 Most Valuable Professional on at

    @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
    440 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard