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 / Problems with Filtering
Power Apps
Unanswered

Problems with Filtering

(0) ShareShare
ReportReport
Posted on by 20

Background: In order to prevent delegation issues, I am populating a Collection via SharePoint List.

Issue: I am trying to further reduce the result set to not show any Completed items that are older than 90 days. Unfortunately,  I cannot get the logic to do both.

I've tried filtering within the gallery as well as my current attempt, filter before generating the collection. If I uncomment //&& Status.Value <> "Completed", not only does it remove any Completed items, it also triggers a delegation warning.

 

ClearCollect(

    colRequestDetails,

    ForAll(

        Filter(

            'Requests',

            Created > DateAdd(Today(), -90, TimeUnit.Days) //&& Status.Value <> "Completed"

        ),

        {

            RequestNum: ThisRecord.ID,
            Requestor: ThisRecord.Requestor,
            RequestFam: ThisRecord.'Request Family',
            RequestType: ThisRecord.'Request Type',
            Status: ThisRecord.Status.Value,
            ShortDesc: ThisRecord.Description,
            Priority: ThisRecord.Priority.Value,
            Comments: ThisRecord.Comments,
            Assignee: ThisRecord.'Assigned To',
            CreatedDate: ThisRecord.Created

        }

    )

)

 

Separating out the condition nets the same result.

Created > DateAdd(Today(), -90, TimeUnit.Days),
Status.Value <> "Completed"
 
Categories:
I have the same question (0)
  • SebS Profile Picture
    4,824 Super User 2026 Season 1 on at
    Hi,
     
    What other Status You have there except "Completed" and do you plan to extend number of Your Statuses or there will be static forever ??

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard