cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AsgeirAlbretsen
Frequent Visitor

Delegation warning using "Folder path" and "File name with extension"

Our SharePoint has millions of items in it, so it's important that I get the delegation right. I've read that both StartsWith and EndsWith are delegable functions, which is great, but I get delegation errors when trying to apply these functions. Specifically:

 

Delegation warning. The highlighted part of this formula might not work correctly with column "Folder path" on large data sets.

 

If I remove that part of the filtering, I get the same error but with "File name with extension instead". Here is my formula:

 

Filter(
  Documents,
   StartsWith(
     'Folder path',
     "Shared Documents/Signatur_App"
  ),
  StartsWith(
    'File name with extension',
    TextInput_ProjectNumSearch.Text
  ),
  EndsWith(
    'File name with extension',
    ".xlsx"
  )
)

 

Does anyone know if the delegation will work, even with the errors? Or is there a way to fix them and still keep all the functionality?

2 REPLIES 2
Anonymous
Not applicable

Hi


As far as I know, if you are fully respecting delegations, then it will works despites of the warning. But in your case, the folder path and file name with extension may fall into the complex types of sharepoint and so, may not be delegable (contrary to text type)

manueltezz
Regular Visitor

Unfortunate 'Folder path' and 'File name with extension' are calculated fields, is the reason why they do not work, even if they are of type text. You will probably have to create a new field to filter

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,330)