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 gallery
Power Apps
Unanswered

Filtering a gallery

(0) ShareShare
ReportReport
Posted on by

Sort(Filter('The business grabber';'Department HOD EMAIL'.Value = User().Email And IsBlank('ASSIGNED TO'));Created;SortOrder.Descending)

 

Hi everyone i am stuck here.

The code is underlined in blue from And Isblank('Assigned to'... with a yellow triangle in the gallery.. I have tried ||  &&

I publish it and the detail doesnt show in the gallery.

 

anyone tell me how i can get this to work PLEASE!!!

Categories:
I have the same question (0)
  • Sickle-Cell Profile Picture
    600 Super User 2024 Season 1 on at

    Hi Jaco,

     

    Truthfully, your code should work as I can't see any syntax errors. The blue lines and yellow triangles are regarding delegation warnings - how many records are you currently working with?

  • Jaco_Els Profile Picture
    on at

    Less than the 2000 limit.. 204 records at the moment

     

  • Hassan_SZ_365 Profile Picture
    542 on at

    Hi,

    1. Correct Syntax for Logical AND: Ensure that you are using the correct syntax for the logical AND operator, which is && in Power Apps.

    2. IsBlank Function Usage: When using the IsBlank function, ensure that you are passing a single value, not a column itself. If 'ASSIGNED TO' is a column in your data source, you should check each record individually to see if it is blank.

    3. Delegation Warnings: Power Apps may underline filters in blue and show a yellow triangle if the filter criteria are non-delegable. That means Power Apps cannot delegate the action of filtering to the data source, and it will only operate on the local data already loaded to the app (up to 500 records by default, or up to 2000 if you have increased the data row limit for non-delegable queries).

    Here is the corrected formula, assuming 'ASSIGNED TO' is a column that stores text or email addresses and you want to find records where it is not filled:

     

    Sort(
     Filter(
     'The business grabber',
     'Department HOD EMAIL'.Value = User().Email && IsBlank('ASSIGNED TO'.Value)
     ),
     Created,
     SortOrder.Descending
    )

     

    If 'ASSIGNED TO' is a complex type (like a Choice, Person, or Lookup), you may need a different approach, like checking for a default or null identifier.

    Lastly, if the Filter function is non-delegable for your data source and you're working with more records than your app can handle locally, you might not see the expected records. In that case, you would need to find a delegable approach for filtering or reduce the scope of data so that it works within Power Apps' delegation limits.

    Best Regards,
    Hassan Raza

  • Ali_Sheraz_77 Profile Picture
    141 on at

    Hi, jaco-Els
    [

    try this code if the 'assigned to' is person column 

     

    Sort(
     Filter(
     'The business grabber',
     'Department HOD EMAIL'.Value = User().Email && IsEmpty('ASSIGNED TO'.Email)
     ),Created,Descending)

     

    ]

    Please give a thumbs up if this information is helpful.

    Best regards,
    Ali Sheraz

  • Jaco_Els Profile Picture
    on at

    Hi Ali
    nope same error

    Thanks

  • Jaco_Els Profile Picture
    on at

    Thank you Hassan going to try this

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 914

#2
11manish Profile Picture

11manish 617

#3
Valantis Profile Picture

Valantis 598

Last 30 days Overall leaderboard