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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,317)