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

Delegation Warning

 

Hello,

I have this formula with delegation warning:

 

Filter('Activity List', (Email = User().Email), (StartsWith(Project.Value, TextSearchBox1.Text)))

 

delegation_warning.png

How I can avoid this warning?

Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Calculated columns are not delegable to my knowledge, although they are listed as theoretically working for complex columns where the sub-property is a delegable type, my experience has found this to not always be the case, this is why I suggested a plaintext column that is filled automatically by your App whenever a project is chosen (is what I meant before).

 

SharePoint - Connectors | Microsoft Docs

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

6 REPLIES 6
iAm_ManCat
Super User
Super User

Hi @stefano_mazzi

 

You are accessing a sub-property of the Project field, which the system will not be able to delegate. I would suggest creating a new text column in your datasource that is automatically filled with the text value of Project.Value - that way when you filter the StartsWith will not have a delegation issue

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Hi @iAm_ManCat 

thank you for your reply 🙂

I created a new calculated coloumn in my sharepoint list called "Project Selected" and update my fx in this way:

 

Filter('Activity List', (Email = User().Email), (StartsWith('Project Selected', TextSearchBox1.Text)))

But delegation warning is always present.

Calculated columns are not delegable to my knowledge, although they are listed as theoretically working for complex columns where the sub-property is a delegable type, my experience has found this to not always be the case, this is why I suggested a plaintext column that is filled automatically by your App whenever a project is chosen (is what I meant before).

 

SharePoint - Connectors | Microsoft Docs

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Thank you @iAm_ManCat .

The solution works great.

 

Excellent, glad I could help @stefano_mazzi, have a great day!

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Have a great day!

Helpful resources

Announcements
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.

Government Carousel

New forum: GCC, GCCH, DoD - Federal App Makers (FAM)

In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.

Users online (1,892)