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 / Power App DataCards Co...
Power Apps
Answered

Power App DataCards Combo Box or Drop Down

(1) ShareShare
ReportReport
Posted on by 21
Hi All...newbie here.  I have a Power App, with data source as an SP List, where the P-app gallery shows a selected list row's items and the corresponding form also shows the selected list row's items via corresponding DataCards using "Parent.Default".
 
I'd like a few of the form's Data Cards to continue to show the SP List row's field when it is selected in the gallery, but I also want users to be able to have a "drop down" selector for that field that presents the set of items already populated in that field for all gallery row entries (e.g., drop-down with; item a, item b, item c, etc.), so they can pick a pre-loaded option entry OR enter a new entry, that would get saved back as an addition drop down list item for the updated drop down list.
 
I've looked at the Combo Box and Drop Down functions, but they seem to work independent of existing DataCards.  Any guidance on how to pursue this would be highly appreciated.
 
Thanks!
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,969 Moderator on at
    Hi
     
    To be clear all controls (pretty much) can be added to a Form and aka data card if you Unlock it.
     
    So feel free to replace text fields with Combo or dropdowns if you want.
  • ksdst1 Profile Picture
    21 on at
    Tnx for the response. 
     
    More specifically, when using either a drop down or combo box in my form to show a Distinct list of field items from a SharePoint list's records, by having the Items =fx Distinct (ListName, RecordColumnName) I get my selectable list of items.
     
    However, I would like this same control (either drop-down or combobox) to initially present as default before the user's form interaction, the field entry for the corresponding record field from the selected canvas record when a user scrolls through the different records in the gallery. 
    Blank default field with no default information:  
     
    Currently the other gallery non-dropdown\combobox form DataCards present this with the formula Default=fx Parent.Default. 
     
    Is this possible to show a default field value with the dropdown\combobox controls using some thing like; Items = fx formula and DefaultSelectedItems?  Or is there another recommended approach?  
     
    Also, I'd like the user to have the option to manually enter a new field entry if their choose is not already in the dropdown list.  Sadly, I have not come across mention of this part.
     
    Thanks! 
     
     
  • Suggested answer
    markperrah Profile Picture
    47 on at
    ComboBox allows for user entry.
     
    for the defaultselecteditems:
    First(Distinct(mySample, Name))
     
    this will default display the first item in the source (mySample)
  • Verified answer
    ksdst1 Profile Picture
    21 on at
    Tnx all for the comments.  I was missing a lot.  First I changed the SP list column type to Choice.  That presented the data in the combo box drop down.  To get the current field name of the currently selected record, I set DefaultSelectedItems = fx {Value:GalleryName.Selected.FieldName}.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard