Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Adding a Collection to Combobox for searching

(0) ShareShare
ReportReport
Posted on by 252

Hi All,

 

I have create a collection which is capturing a list distinct list of Descriptions(original list is over 2000 records and includes lots of duplicates).  I am using the below

 

ClearCollect(Desc,{Result: "All"},Distinct('Part List',Description)).  I have placed this in a Combobox, so I can search for a record.  

 

When I play the app, all I have in the list is the word "All" and lots of blank lines.  Any ideas as to where I am going wrong?

 

Thanks in Advance

Categories:
  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: Adding a Collection to Combobox for searching

    @v-bofeng-msft 

    No worries it is now working. Thank you

  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: Adding a Collection to Combobox for searching

    @v-bofeng-msft 

     

    Thank you for the quick reply.  I have changed it to Value in the collection.  In the Combobox it is showing an error.

    Skybluekid_0-1686731176524.png

     

     

  • Verified answer
    Re: Adding a Collection to Combobox for searching

    Hi @Skybluekid ,

     

    Please try:

     

    ClearCollect(Desc,{Value: "All"},Distinct('Part List',Description))

     

     

    Best Regards,

    Bof

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard