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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to get values in a...
Power Apps
Unanswered

How to get values in a Combobox from a table in a Collection

(0) ShareShare
ReportReport
Posted on by 61

Hi All,

 

I have been struggling with this for a couple of day, but have not been able to find a solution, even after searching the forum. I have a SharePoint list (List A) that has a choice field which allows multiple selections. I also have another SharePoint list (List B) that I use as a kind of feeder list. In my PowerApps for List A, I want to filter List B based on a value I input in the form, and put the record into a collection (FeederItem). This works fine. The choice field from List A shows up in the collection as a table. Now, in my PowerApps form, I want to show the values from this table in a combobox. I am just not able to figure out what the syntax to use would be. Can anyone guide me? Please let me know if I can provide more clarity.

 

Any guidance/help would be much appreciated.

 

Thanks,

Dhruv

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    For choice in combobox, use:
    Choices(ListName,ColumnName)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • dhruvmathur Profile Picture
    61 on at

    Tried that, but it does not work. i tried adding Choices(FeederItem, Software) to the Items property, where FeederItem is the Collection and Software is the column, but it doesn't work, It says function Choices has some  invalid arguments. Keep in mind, the column Software is a table withing the collection.

  • eka24 Profile Picture
    20,923 on at

    Please  used

    Choices(FeederItem.Software)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • dhruvmathur Profile Picture
    61 on at

    That doesn't work either, error is Name isn't valid. Do I need to parse the table values? If so, how would I do that?

  • eka24 Profile Picture
    20,923 on at

    If this does not work, take a screen shot of the collection:
           FeederItem.Software.Value

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • eka24 Profile Picture
    20,923 on at

    Kindly give a screen shot if this does not work:
         FeederItem.Software.Value

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • dhruvmathur Profile Picture
    61 on at

    Hi eka24,

     

    Greatly appreciate all the help, but that did not work either. Attached are screenshots of the column in the collection, and the column itself.

     

  • dhruvmathur Profile Picture
    61 on at

    To give a bit more context. I have a SharePoint list that has a choice column set up for multiple choices. In PowerApps, when I create a collection, this Choice column becomes a table in the collection. I want to bring these values into a combobox in my PowerApps app, but can't seem to figure out what the syntax should be.

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @dhruvmathur ,

    You need to tag the responder @eka24 like this to make it easier for them to see in their feed.

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    Hi @dhruvmathur ,

    Is your request fundamentally that a user chooses some values in a multi-choice box and you want those values to be displayed in another combo box as below?

    ChoiceSecond.gif

    If so, all you have to do is make the second Combo Box Items property

    YourFirstComboName.SelectedItems

     

    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.

     

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

Forum hierarchy changes are complete!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard