web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Lookup error -This for...
Power Apps
Answered

Lookup error -This formula uses scope, which is not presently supported for evaluation

(0) ShareShare
ReportReport
Posted on by 2,295

My app is connected to 2 sharepoint lists: Contactos and Entidades


I have a gallery whose "Items" property is Contactos, and it works fine.

 

But, I need to lookup the name of the entity in the "Entidades list", so the "Text" property of the label I'm trying to create is:

 

LookUp(Entidades, ID1 = ThisItem.ID_Entidade)

 

This makes a lot of sense to me and I'd expect to work without any issues.

 

However:

 

"Lookup error -This formula uses scope, which is not presently supported for evaluation"

 

I have no idea what this means and what the lookup is supposed to do..

 

Any help!

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @WebPortal 

    You are referring to the formula editor information.  The Formula editor cannot evaluate a value that uses a scope such as Gallery.  So, in other words, if you have a label with ThisItem.Name (for example) in the Text property of the Label, when you click on that in the formula editor, it will give you that message because it has no idea what ThisItem is...ThisItem is in the scope of the Gallery so it cannot evaluate it.  If it could, which record would it show?

     

    However, I am guessing that you are drawn to this because you are not getting what you want in your Label Text property.  This is because you are setting the Text property to a record...this will not work.  You need to specify which column of your record you want to be displayed in the text.

    So for example, if Name was a column in your datasource and that is what you wanted to display, then this is what you want:

       LookUp(Entidades, ID1 = ThisItem.ID_Entidade, Name)

     

    I hope this is helpful for you.

  • WebPortal Profile Picture
    2,295 on at

    @RandyHayes 

     

    Thank you so much! Now it makes sense that I was missing what field I need to extract from the record (it is Desingação), so this expression worked:

     

    LookUp(Entidades,ID1 = ThisItem.ID_Entidade).Designação

  • ankurvadher Profile Picture
    9 on at

    Thank you ! it works

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard