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 Platform Community / Forums / Power Apps / DropDown not reading c...
Power Apps
Unanswered

DropDown not reading collection

(0) ShareShare
ReportReport
Posted on by 688

Hi All - seen some similar posts but none fixes this issue.  I have a drop down - simple read from a sharepoint column - works great - 

ctedesco3307_0-1663595092902.png

 

But then I try to put that DISTINCT statement in a collection, (ultimately so I can add and "ALL") and the dropdown won't read the collection. what am I missing? thanks in advance

 

 

ctedesco3307_3-1663595347182.png

 

ctedesco3307_2-1663595264884.png

 

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at
    Re: DropDown not reading collection

    @ctedesco3307 

    Don't waste your time with duplicating data in collections...just set your Items property of your dropdown to:

    Ungroup(
     Table({Items: Table({Result: "All"})},
     {Items: Sort(Distinct('PS Contract Totals', 'Project Key'), Result)}
     ),
     "Items"
    ) 

     

    I hope this is helpful for you.

  • ctedesco3307 Profile Picture
    688 on at
    Re: DropDown not reading collection

    @RandyHayes - thanks for the answers. I did know that if I put what I needed into the items property it worked. I appreciate the "All" syntax added. Isn't creating a table the same concept as duplicate info in a collection?  It works, but I really wanted an answer to the problem of why the collection wasn't read by the dropdown.  Even though there may be a work around for this instance, there may be another instance where collections are the way to go, and I'd just like to know how to make that work.  Thanks again! 

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard