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?

3 REPLIES 3
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

 

Ricardo_Irineo
Advocate I
Advocate I

I've had the same issue with file libraries and wondering if anyone has had any luck since then?

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,104)