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 delegation
Power Apps
Answered

filtering delegation

(0) ShareShare
ReportReport
Posted on by 39

Hi everyone,

 

currently I'm creating a material asset tracking apps to track material availability and validity.  

But I'm having an issue with my Filter delegation. How can I solve this delegation issue? please refer snapped below.

Khairul_Amri_0-1709702920343.png

Thank you.

Categories:
I have the same question (0)
  • Verified answer
    Sohan Profile Picture
    154 on at

    Hello @Khairul_Amri,

    Dealing with delegation warnings in Power Apps can be tricky, especially when using the in operator. You may use this trick.

    Pre-Filtering with With Function:
    The delegation warning arises because the in operator is not fully delegable to your data source. To mitigate this, you can pre-filter your data using the With function.
    Here’s an example of how you can structure your formula:

    With({
    _preFilter: Filter(
    Sharepoint_List,
    StartsWith('Title', TextSearchBox1.Text) &&
    (IsBlank(ComboBox1.Selected.Value) || Satellite.Value = ComboBox1.Selected.Value)
    )
    },
    SortByColumns(
    Filter(
    _preFilter,
    collectionType in typeSelectionFilter.Value,
    collectionArea in areaSelectionFilter.Value
    ),
    "Created",
    If(SortDescending1, Descending, Ascending)
    ))

     

    Replace the placeholders (Datasource, TextSearchBox1.Text, etc.) with your actual field names and variables.

    I hope this helps! Let me know if you have any further questions. If this solves your question, please accept it as a solution & give it a thumbs up to help other community members find it more.

    Thanks!

  • Khairul_Amri Profile Picture
    39 on at

    its work.

     

    thank you.

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard