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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

Top Solution Authors
Users online (1,437)