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 / Help with powerapps an...
Power Apps
Answered

Help with powerapps and delegation

(0) ShareShare
ReportReport
Posted on by 58

hello everyone, i'm a noob in the powerapps world!

I am developing an application connected to a sharepoint image gallery and i have to filter my browse screen with this formula:
Filter('Photo Gallery';StartsWith(Marchio; TextSearchBox1.Text) And Author.Email=User().Email)
 
Cattura.JPG
Categories:
I have the same question (0)
  • PowerAppAlex Profile Picture
    18 on at

    Hey @luis82 

     

    Power Apps Delegation can only be an issue for large amounts of records and the limit can be amended. Do you have many records?

     

    Refer to this blog here to assist; https://powerapps.microsoft.com/en-us/blog/sharepoint-delegation-improvements/

     

    To understand more about delegation, please read here; https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview

     

    Kind Regards,

    PowerAppAlex

     

  • Verified answer
    Pstork1 Profile Picture
    69,129 Most Valuable Professional on at

    The StartsWith portion of the formula should be fine.  Its the use of User().Email that will cause a delegation problem.  Instead of using the Embedded function store the result of User().Email as a variable and use the variable instead.  Also, use && instead of the And.  So your formula should look like this:

    Filter('Photo Gallery';StartsWith(Marchio; TextSearchBox1.Text) && Author.Email=CurrentUser)

    Then add this to the OnStart property of your App

    Set(CurrentUser, user().Email)

     

  • luis82 Profile Picture
    58 on at

    Thank you so much  Pstork1!!

    the delagation warning has disappeared! 😎

     

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
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard