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 / Dropdown not pulling i...
Power Apps
Answered

Dropdown not pulling in new data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good afternoon!  I am using a dropdown that is working correctly until I add additional rows to my list for a new entry.  If I add a new entry on an existing name, it will add the entry and I can see it in my gallery.  However if I add a new name, it will not show up.  I am pulling the list of names from the list where I am adding form responses to.  The ~~'TSG Responses',GameName~~ is populated from another form on my app that builds this list.

 

~~Sort(Distinct('TSG Responses',GameName),Result)~~

 

Thanks for any help!

 

Chris

Categories:
I have the same question (0)
  • BCLS776 Profile Picture
    8,994 Moderator on at

    Is TSG Responses being updated by your app, or does it stay static? If it is being updated regularly, consider putting its Items into a collection and regenerate that collection after you've submitted a new record to TSG Responses, perhaps in the OnSuccess of its form. The dropdown should refer to the collection, which will then reflect the new records that may be available.

     

    Hope that helps,

    Bryan

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Bryan.  Thank you for the quick response.  I am pretty new to Powerapps, and this is my first app.  There is another form in the same app that adds a row for each submission to the TSG Responses list.  Im not sure what a collection is but I will research that and see if that fits our needs.  Thanks again!

  • BCLS776 Profile Picture
    8,994 Moderator on at

    Here are the basic steps:

     

    In the OnSuccess property of the form that updates TSG Responses, put:

    ClearCollect(colDropDown,
     // put the code here that is currently in your dropdown's items
    );

    In the Items property of the dropdown put:

    colDropDown.value
    // you may have to swap .value for .result depending on what's in the collection

    Bryan

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you again!  Getting closer.  I am able to get it to almost work 100%, however when I paste in the colDropDown into the drop down it shows all the items that are able to be selected on the form that updates the TSG responses.  To explain a little more, I have two forms and two data sources.  TSG List has a drop down of 500 items, as well as some open text fields, so you can select a drop down item and than enter some information about it in multiple fields.  That info is stored in TSG responses, and if you want to see the responses the dropdown on TSG responses only shows the list of items that has a response, not the entire list from TSG List. Sorry if I was confusing.

  • BCLS776 Profile Picture
    8,994 Moderator on at

    @Anonymous wrote:

    Thank you again!  Getting closer.  I am able to get it to almost work 100%, however when I paste in the colDropDown into the drop down it shows all the items that are able to be selected on the form that updates the TSG responses.  To explain a little more, I have two forms and two data sources.  TSG List has a drop down of 500 items, as well as some open text fields, so you can select a drop down item and than enter some information about it in multiple fields.  That info is stored in TSG responses, and if you want to see the responses the dropdown on TSG responses only shows the list of items that has a response, not the entire list from TSG List. Sorry if I was confusing.


    OK, this indicates the code in the ClearCollect() function is not properly filtered down to the unique responses. You had earlier posted a snip of text with a Sort() and Distinct() in it - did you put that code in with the ClearCollect()?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yessir.  On the second part of your instructions you state to 

    colDropDown.value
    // you may have to swap .value for .result depending on what's in the collection

     

    Is that on the dropdown in the form where I made the changes or the dropdown that should be showing the smaller list of items?  If its in the forms dropdown, there is already something in the items area 

    ShowColumns('TSG Game List-1', "Title","Vendor"). Here is a screen shot of the OnSubmit as well, I have tried it before and after the Navigate

    CC.png
  • Verified answer
    BCLS776 Profile Picture
    8,994 Moderator on at

    I'm not able to see your app, so I am not sure which dropdown you're referring to now. In your first post, you wrote that a dropdown was not working -- is that the one you editing? That would make the most sense from what little I know about your app.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Good point, so I started inserting your instructions again from scratch and now I am back to it working as it was supposed to, using the code you posted, however it is still not allowing me to see new posts.  I am still able to add additional records to existing records, but I cannot see any new items posted if they were posted for the first time.

     

    Thank you again for your help and patience!

     

    Chris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Bryan.  So I(Google/YouTube) figured out what the issue was.  The data source has about 600 rows we are pulling in, and the settings had it at 500, so when I increased to 2000 it pulled in the data immediately.  Thank you so much for your help with this, I will continue to use the code you provided and will get with our Admin about seeing what options are when we surpass the 2000 limit.  

     

    Thanks again!

    Chris

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard