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 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,895)