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
Unanswered

Combo Box in Vertical Gallery - linking to table field

(0) ShareShare
ReportReport
Posted on by 4
Hi,
 
I am going spare trying to work out what should be easy so I must be missing something..
 
I am making a data entry form with a vertical gallery entry for each row in the underlying table where one field I want to be a drop down filled from choices either fixed or from a second table (either will work). I can do this in a form with a data card but not as a raw drop down control in a gallery.
 
What am I missing?? This seems really simple. I can do all sorts of other controls but not with a combo box or a drop down. 
 
Using dataverse.
 
 
Thanks for any help and sorry if this seems basic.
 
 
Cheers,
 
 
Scott.
Categories:
I have the same question (0)
  • SB-17091307-0 Profile Picture
    4 on at
    Combo Box in Vertical Gallery - linking to table field
    Hi,
     
    Thanks for responding, very much appreciated.
     
    The form I have is shown below, the table that drives this is simple with a record_id field (auto-number), the transect field, the PIT field, the benthic form field and the hard coral genus field. Transect id and PIT are labels, the benthic form and the hard coral genus are text input boxes. These are wrapped in a vertical gallery to make them repeat, I generate a set of empty rows that the user then fills in from a data sheet.
     
    This all works perfectly but I want to make the benthic form a drop down list with pre-set values either from a static list or from a second table. That's it which is why I must be missing really simple... So just want to replace the text entry field with a drop down list / combo or equivalent.
     
    Hope this makes sense.
     
     
    Thanks,
     
     
     
    Scott. 
     
  • Michael E. Gernaey Profile Picture
    48,842 Super User 2025 Season 2 on at
    Combo Box in Vertical Gallery - linking to table field
     
    Feedback: Please always share pictures, you are building a UI, but not sharing, its much easier and faster for us to see whats wrong, then to be told cause some of us are old :-) and visuals are way easier, both to show us what you want (Mock it up) and if it doesn't work, expression and visuals of what is not working.
     
    Also, I am not sure what you mean you are able to do it in a Form but not here? 
     
    You haven't explained the logic of how you decide where to pull the data from, or shared what you did in the form as it would be nearly if not identical. So please share what you did somewhere that worked, and then share what you tried in the Gallery that doesn't.
     
    It's easy enough in the Items property to have a Switch or an If statement to decide where to load data from, but I do not know the names of details relative to the choices etc.
     
    So for instance let's say you had a column called FOO (text column) and if the value is "Me" you want the drop down to load choices from Table 1 not Table 2
     
    In the items for the drop down you would something like this
     
    if(ThisItem.Foo.Text or .Value depending if you use the classic or modern control = "Me", LoadChoicesFromtable1, LoadChoicesfromTable2)
     
    now, since I do not know if these are Table level choices, or global choicies, I just typed in LoadChoicesFromTable1
     
    I am making a super guess leap here as to how to determine what to load, but hopefully it explains how to do what you asked.
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 982 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 396 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 356

Last 30 days Overall leaderboard