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 / Filter Gallery By Mult...
Power Apps
Answered

Filter Gallery By Multiple Yes/No and Date Range

(0) ShareShare
ReportReport
Posted on by 50

Hi All

 

I have a a Gallery displaying my SharePoint list Called 'Tenants', I have two yes/no columns 'Active Tenant' & 'RTR' I also have a date column called 'End Date'. I would like my gallery to filter to show all Tenants that a Yes(True) in 'Active Tenant' AND Yes(True) in 'RTR'. I then want it to filter the results by a date range and only show results dates that have a "End Date" within the next two months.

 

In short, the gallery is to show results of Tenants that are "Active", have "RTR" And the "End Date" is within the next two months.

 

I have this working with Just "Active Tenant" and "End Date" within 2 months using the Formula below, but I cannot work out how to add the extra "RTR" yes/no filter in. 

 

Filter(
'Tenants','Active Tenant' = true,

DateDiff('End',Today(),Months)>=-2)

 

Any help would be greatly appreciated.

 

Thanks 

Gary

Categories:
  • Verified answer
    Akser Profile Picture
    1,546 Moderator on at

    Hi @gazza2000,

     

    Does the following not work?

    Filter(
     'Tenants',
     'Active Tenant' = true,
     RTR = true,
     DateDiff('End',Today(),Months)>=-2
    )
  • gazza2000 Profile Picture
    50 on at

    That has done it, thank you so much!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard