cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Hockeyman9474
Helper III
Helper III

Lookup formula cannot be evaluated remotely due to service limitations...

Lookup formula cannot be evaluated remotely due to service limitations.. The local evaluation may produce suboptimal or partial results. If possibel please simplify the formula..

 

Getting this error based on the following formula:

 

Distinct(Filter(dsrDataSource,Left(Location,3)="020" && Carline="TOTAL"),Left(Location,3))

 

Left(Location, 3)="020" is underlined in blue. Not complicated at all. I am getting results, but I don't know if they are accurate.

 

Any ideas?

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @Hockeyman9474,

 

This should be caused by delegation.

Understand delegation

And the function you used here (left() ) is not under the delegatable function list.

Please read the article above for more details.

For a workaround, replace the left(location,3)="020" with startswith function.

StartsWith function in PowerApps

StartsWith(Location, "020")

The whole formula should be:

Distinct(Filter(dsrDataSource,
StartsWith(Location,"020") ,
Carline="TOTAL"),
Left(Location,3))

There is no need to add && within the filter function, Multiple expression would be in an and condition by default.

Check to see if this would make it work.

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-micsh-msft, in a post I just made I encountered  a similar problem with User().Email.

Any suggestion on how to workarroudn that ?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,556)