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 / Default Selected not w...
Power Apps
Answered

Default Selected not working in ComboBox

(0) ShareShare
ReportReport
Posted on by 68

Hello, 

 

I have 5 comboxes ( as choices in Sharepoint) in my app. I tried to set the default value as "Pending" every time when someone submits a new record. (=to know that this record is waiting for approval and work with this for other things in my app)

 

Although its not working... Its displayed, but I cannot see the value "Pending" in my SharePoint list. In the SharePoint it's still "blank".

 

Combox setting: 

Items: Choices: ([@'Monthly Donations 2022'].'Approval 1')

DefaultSelectedItems: LookUp(Choices('Monthly Donations 2022'.'Approval 1'), Value="Pending") 

 

Please help me. 🙂 Thank you!

 

 

 

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @Veronika_Kys123 ,

    The DefaultSelectedItems would be

    {Value: "Pending"}

    The Update of the Data Card would be 

    {Value: ComboBoxName.Selected.Value}

    I assume here this is only for new records.

     

    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.

    Visit my blog Practical Power Apps

     

  • Veronika_Kys123 Profile Picture
    68 on at

    Thank yooou!!! 

  • Veronika_Kys123 Profile Picture
    68 on at

    Hello! I just realized looking in my sharepoint, that "pending" by default is working, although when I submit a "new" approval - ex. from pending to approved - it's changed in sharepoint, but my DataCard is still showing pending. 

    Looks like even when I Submit new value in the column approval its still changing back to "pending", 

     

    any suggestions please?

     

     

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Veronika_Kys123 ,

    That is why I noted the solution was only for new records. You will need something like

    If(
     YourFormName.Mode = FormMode.New,
     {Value: "Pending"},
     {Value: ThisItem.'Approval 1'.Value}
    )

     

    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.

    Visit my blog Practical Power Apps

  • Veronika_Kys123 Profile Picture
    68 on at

    Oki as a defaultselecteditems?? 

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Veronika_Kys123 ,

    Yes - that is the DefaultSelectedItems

  • Veronika_Kys123 Profile Picture
    68 on at

    Okk, now its working - but the DataCardValue is showing as empty, without the "pending" selected. Any idea how to fix that? 

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Veronika_Kys123 ,

    If the Form is in New Mode, it will show Pending and in View or Edit Mode will show whatever you have saved in the 'Approval 1' field in your List - I assumed that is what you wanted.

     

    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.

    Visit my blog Practical Power Apps

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 383 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 356

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard