cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
geneZebra
Level 8

delagation warning for in or ecactin with filter how to correct?

I am trying to rewrite my app to use a share point list rater than excel. Once I change the data source to sharepoint, I start seeing all sorts of delagation warnings. The following is a very basic example that according to the documentation should not be generating a warning. Unfortunately, I am getting the warning on the "exactin" function. How can this be avoided? 

 

Set(_User, Office365Users.MyProfile());

ClearCollect(_coBudgets, Filter(EttTravelAppBudgets, _User.Department exactin EttTravelAppBudgets.Department);

 

I am now looking to creating the applicaiton from scratch and this is the first error I am getitng.  The Department field is a text type in the EttTravelAppBudgets table which is a sharepoint list.

 

Is this a known issue? If this can be safely ignored, how do I remove the warning? If not, how can I reduce the data set since this seems to be the only way to isolate down a user's department from a list.

 

 

thanks,

Gene

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: delagation warning for in or ecactin with filter how to correct?

The exactin isn't a delegable operator in SharePoint. Try this formula instead:

 

ClearCollect(_coBudgets, Filter(EttTravelAppBudgets, Department = _User.Department))



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Super User
Super User

Re: delagation warning for in or ecactin with filter how to correct?

The "in" isn't delegable in SharePoint either.  The link below shows what is delegable in SharePoint.

 

PowerApps delegable functions and operations for SharePoint



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
5 REPLIES 5
Super User
Super User

Re: delagation warning for in or ecactin with filter how to correct?

The exactin isn't a delegable operator in SharePoint. Try this formula instead:

 

ClearCollect(_coBudgets, Filter(EttTravelAppBudgets, Department = _User.Department))



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
geneZebra
Level 8

Re: delagation warning for in or ecactin with filter how to correct?

thanks. I got got that after I posted but also noticed "in" doesn't work which is delagatable. I guess there is a issue with the in operator.

 

THanks,

Gene

 

Super User
Super User

Re: delagation warning for in or ecactin with filter how to correct?

The "in" isn't delegable in SharePoint either.  The link below shows what is delegable in SharePoint.

 

PowerApps delegable functions and operations for SharePoint



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
geneZebra
Level 8

Re: delagation warning for in or ecactin with filter how to correct?

got it now thanks. 

Now I'm thinking I may be able to slavage my excel based powerapp vs a full rewrite. Smiley Happy

 

Thanks,

Gene

 

Super User
Super User

Re: delagation warning for in or ecactin with filter how to correct?

In general SharePoint is a better data source than Excel, especially if the app is going to be used by a group of people on a regular basis. The key to working with SharePoint is understanding what is delegable and what column types to use when creating your list. The most challenging part in multi select choice fields because those aren't delegable and there isn't a good work around.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 197 members 4,600 guests
Recent signins:
Please welcome our newest community members: