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 / Delegation Warning - E...
Power Apps
Answered

Delegation Warning - Excel Sharepoint

(0) ShareShare
ReportReport
Posted on by 94

Hi please help,

I just transferred all my excel file from sharepoint and change my connection from Onedrive to Sharepoint.

however the delegation errors appear and in addition the Or operation is not supported. 

 

Sum(Search(Filter(
BreakageT,
DateValue("Date") <= DatePicker2.SelectedDate,
DateValue("Date") >= DatePicker1.SelectedDate,Radio1.Selected.Value = "All" || Section=Radio1.Selected.Value,'Report As'="Breakage"),TextSearchBox.Text,"DESCRIPTION","ITEM CODE","Section","Location","Report As"),'Total Count')

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,922 Most Valuable Professional on at

    Hi @jayceeb ,

    There is no issue with Or, but Sum and Search are not Delegable - try this

    With(
     {
     wList:
     Filter(
     BreakageT,
     DateValue("Date") <= DatePicker2.SelectedDate &&
     DateValue("Date") >= DatePicker1.SelectedDate &&
     (
     Radio1.Selected.Value = "All" || 
     Section = Radio1.Selected.Value
     ) &&
     'Report As' = "Breakage"
     )
     },
     Sum(
     Search(
     wList,
     TextSearchBox.Text,
     "DESCRIPTION",
     "ITEM CODE",
     "Section",
     "Location",
     "Report As"
     ),
     'Total Count'
     )
    )

    but note that the top filter needs to return record numbers under your Delegation limit to get the correct result.

     

    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.

    Visit my blog Practical Power Apps

     

     

  • jayceeb Profile Picture
    94 on at

    Thanks I'll try this one.

     

    how about the combo box issue? it's not working also.the search function is not searchable  due to same connection to sharepoint?

     

    jayceeb_1-1668007814418.png

     

     

     

     

  • WarrenBelz Profile Picture
    155,922 Most Valuable Professional on at

    @jayceeb ,

    You did not mention the Combo Box code - what is the issue with it ? What is not working with the Search ?

  • jayceeb Profile Picture
    94 on at

    It's working fine in onedrive but when it comes to excel sharepoint it shows this error.\

     

    jayceeb_0-1668050146541.png

     

  • WarrenBelz Profile Picture
    155,922 Most Valuable Professional on at

    @jayceeb ,

    The code that is causing that error and where it is being used would help greatly.

  • jayceeb Profile Picture
    94 on at

    I used combobox and the source is ItemCode. now I want to search items for Description and Item code. in my search field I used ["DESCRIPTION","ITEM CODE"] however it does not work and gives me an error but when I used my current app its working fine.  any idea please

  • WarrenBelz Profile Picture
    155,922 Most Valuable Professional on at

    @jayceeb ,

    What is the Items of the Combo Box ?

  • jayceeb Profile Picture
    94 on at

    the items are " CART, GLASSES, WINE + 394 items etc.. 

  • WarrenBelz Profile Picture
    155,922 Most Valuable Professional on at

    @jayceeb ,

    I need the actual Items property of the Combo box

    WarrenBelz_0-1668399907471.png

     

  • jayceeb Profile Picture
    94 on at

    Oops. I did not use choices code. Is it required?

     

    jayceeb_0-1668400073928.png

     

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 316 Most Valuable Professional

#2
11manish Profile Picture

11manish 242

#3
Valantis Profile Picture

Valantis 198

Last 30 days Overall leaderboard