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 / Search + Filter Questi...
Power Apps
Answered

Search + Filter Question for Two Related Dataverse Tables

(0) ShareShare
ReportReport
Posted on by 228

I recently needed to filter a Dataverse view per this thread, 
Dataverse Views - Can I Use a Variable From My Canvas App and Send to the 'Filter By' In My View? and @dpoggemann provided a great solution as shown below.

// Gallery - ITEMS Property (Works)
Search( Filter( AssignedUserss, 'AssignedUserss (Views)'.'DIApp Home User Dashboard' ), User().Email, "cr4de_assignedemail" )

Now using the code above, I need to also filter WHERE Close Date has not been reached +90 days.  So if the close date is 4/15/2022 (+90 days) then it would displayed in the gallery but if close date is 1/1/2022 (+90 days) then it would not be displayed.

Here is my gallery.
DI App - User Dashboard NEED TO Filter by Close Date.png

 This code is for the Close Date in the gallery.  

// Close Date in the gallery Where DRID is the lookup column 
Text( ThisItem.DRID.CloseDate, "[$-en-US]mm/dd/yyyy" )

 Thanks for any feedback.

Categories:
I have the same question (0)
  • Verified answer
    Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

     Hi @cmanning ,

     

    Have you tried code similar to the following to apply the additional filters?  http://powerappsguide.com/blog/post/filter-records-by-specific-date-todays-date-or-range-of-dates 

  • cmanning Profile Picture
    228 on at

    @dpoggemann - I apologize for my late response but I had some critical tasks become my top priority.  
    Thank you for putting me on the right track!  Here is the solution. 

    // Gallery Items Property
    Sort( 
     Filter(
     Search(
     AssignedUserss,
     User().Email,
     "cr4de_assignedemail"
     ),
     'AssignedUserss (Views)'.'DIApp Home User Dashboard',
     DateAdd(
     DRID.CloseDate,
     90,
     Days
     ) > Today()
     ), PercentAllocated, Descending
    )

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard