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 / Dataverse delegation b...
Power Apps
Unanswered

Dataverse delegation behaves differently in a gallery and on UpdateContext for the same formula

(0) ShareShare
ReportReport
Posted on by 36

Hello,

In PowerApps connected to a Dataverse table, if I set the Items property to a Search formula (on a text column), delegations works perfectly, but if I try to use the same formula within an UpdateContext with OnSelect on a button, the delegation doesn't work.

I realised that by setting the non-delegation limit to 2 items instead of 500 items.

 

Here is the Search formula I use :
Search(

        SomeDataVerseTable,
        "TheWordToLookFor",

        "TheNameOfTheColumn"
)

 

In the Gallery where I use the formula, I get all the items I Search for, but in the UpdateContext on a button, I get only two items.

Same Search formula. 

 

Is there a thing with UpdateContext that blocks delegation ?

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,968 Super User 2026 Season 2 on at

    Hi @larivibi 

     

    I would need to see your UpdateContext to understand the storage medium there, versus the items probably of a Gallery, that also supports pagination (not all things do)


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • larivibi Profile Picture
    36 on at

    Thank you for your reply Michael,

     

    here's my code for the Items property of a Gallery:

    larivibi_0-1698261869896.png

    And here is my UpdateContext code  on a button:

    larivibi_1-1698261937599.png

    Both should give me the same records, right ?

    As of now, the gallery gives me all the records asked, but the UpdateContext only gives me 2 resords, since I set the non-delegable limit to 2 items.

     

    Am I missing something ?

  • larivibi Profile Picture
    36 on at

    Oh my.....I am getting old

     

    I asked the same question a couple of years ago and gor the best of answers :
    Here it is : Solved: Delegation and Variable/Collections - Power Platform Community (microsoft.com)

     

    Sorry for that, but I think the answers might help a lot of poeple in that situation!

     

    Cheers

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard