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.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (4,362)