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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,133)