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

DropDown not reading collection

(0) ShareShare
ReportReport
Posted on by 659

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,291 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
    659 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

Responsible AI policies

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

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard