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 / How can I rewrite this...
Power Apps
Answered

How can I rewrite this query to avoid delegation

(0) ShareShare
ReportReport
Posted on by 72

Hello Community,

 

Please how can I rewrite this query to avoid the delegation issue caused by 'Lower()'

 

Filter(Sort('App System', Created, Descending),(Lower('Negotiator Assigned'.Email)= Lower(User().Email)))

 

Thanks in advance.

Kira

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @Kira-Daw ,

    You actually mean to include Delegation (you currently do not have it). Lower() is not Delegable and it is your only filter - you can do this

    With(
     {
     wData:
     Sort(
     'App System', 
     Created, 
     Descending
     ),
     wMail: Lower(User().Email)
     },
     Filter(
     wData,
     Lower('Negotiator Assigned'.Email) = wMail
     )
    )

    and it will action the newest (Delegation Limit) records with the bottom filter, but that is the best you will do short of (I recommend this as I have done it) cleaning up your data so the emails are all Lower Case and then enforcing this on new records.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Kirah Profile Picture
    72 on at

    Hello @WarrenBelz 

     

    Thanks for your response.

     

    you said : ' it will action the newest (Delegation Limit) records with the bottom filter , but that is the best you will do short of'

    I'm not sure what you mean. Can you please explain further, Do you mean I will still face delegation issue with this approach?

     

    I'm not sure we can manipulate the capitalisation of the email addresses, as they are derived from a people picker and stored in the Sharepoint List.

     

    I look forward to your response on this, Thanks in advance.

     

    Regards

    Kira

     

     

     

     

  • Verified answer
    WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at

    Hi @Kira-Daw ,

    Yes - you pretty much nailed - Lower() simply is not Delegable. You need to have at least have your SharePoint list in lower case, then

    With(
     {wMail: Lower(User().Email)},
     },
     Filter(
     wData,
     'Negotiator Assigned'.Email = wMail
     )
    )

    will be Delegable.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • Kirah Profile Picture
    72 on at

    @WarrenBelz 

    Thats great, thanks alot for the guidance.

     

    Regards

    Kira

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