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 Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,484)