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 / Delegated function ins...
Power Apps
Answered

Delegated function inside of a non-delegated function

(1) ShareShare
ReportReport
Posted on by 61

If I'm using a Filter() Function that does support delegation inside of SortByColumns() Function that does not support delegation does delegation get lost completely or just once you get outside of something not delegated.

 

Example:

 

SortByColumns(
 Filter(
 Table,
 field1 = "ABC"
 ),
 field2, Ascending,
 field3, Ascending
)

 

Will that Filter get delegated, but then the delegation is lost when it sorts? Or will I just completely loss delegation because some part of the function doesn't support delegation?

 

Thank you!

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    This is actually one of the strategies for working with non-delegable functions.  By nesting a delegable function inside a non-delegable function it will first use the delegable function to return a data set up to the data row limit.  At that point the non-delegable function will execute on the data set.  So as long as the delegable inner function gets the data returned below the data row limit it will all work fine.

  • Jsunnb Profile Picture
    61 on at

    Thank you so much for confirming so quickly. I wanted to make sure I was actually being strategic and not just tricking myself, lol. 

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 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard