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 / Filtering a clearcolle...
Power Apps
Answered

Filtering a clearcollect in a Gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Need some help with this...

I have a ClearCollect called ccTest pulling information from a sharepoint list name called TEST and a column name CYCLEDATE (showing dates like 8/4/2022 or 8/11/2022 etc.

I have a filter on this gallery:  Filter(ccTest,CYCLEDATE= Dropdown1.Selected.Result) 
It will only show in (Gallery1) the results after you select from the dropdown (Dropdown1)  certain date (8/4/2022 & etc.) 

Now, on my next screen (Duplicated Screen)

Gallery1_1 still using the same results as above Filter(ccTest,CYCLEDATE= Dropdown1_1.Selected.Result) after selecting  selected date from Dropdown1_1. 

My issue is: I need to filter ccTest by using Dropdown1_1 for the 'CYCLEDATE'  AND by another column name called 'Code' with these values (UK, NP, Q)

I tried using: Filter(ccTest,CYCLEDATE= Dropdown1_1.Selected.Result && Code="UK") it works but I need to be able to see all "UK, NP, Q" results after selecting the dropdown date. Is this possible to get the results for the 3 code names with filtering by date too?
Thank you

Categories:
I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello @Anonymous, Try this:

    Filter(ccTest,CYCLEDATE= Dropdown1_1.Selected.Result && (Code="UK" || Code="NP" || Code="Q"))

     

    Regards,

    Ahmed

    If my reply helped you, please give a 👍. And if it has solved your issue, please consider a 👍 & Accepting it as the Solution to help other members of the community find it more.

    My Blog: www.powerplatformplace.com

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Ahmed, Thank you so much! It worked great. 

  • AhmedSalih Profile Picture
    6,680 Moderator on at

    @Anonymous, Happy to help!

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

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard