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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Powerapps - People Pic...
Power Apps
Answered

Powerapps - People Picker - This formula uses scope

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I have a button in my gallery (connected to  SP List) ... I want to show the button if the current login user is Project Manager (Project Manager is people Picker column in my SP List)... I used the below condition on the visible property of the button ...

However I am not able to execute this .. its giving me a message that "This formula uses scope, which is not presently supported for evaluation" ... please help me on this. ....

 

If(ThisItem.PROJ_QE.Email = User().Email, true, false)

 

PROJ_QE -- Project Manager People picker column. 

PeoplePicker.JPG
  • cchannon Profile Picture
    4,702 Moderator on at

    Check to make sure your picker and your user data both display properly on the form. If they both resolve cleanly (i.e. data types match and are simple), this should not be an issue.

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Is the Project Manager person column in the same list as the data source of the Gallery?

     

    If it is, you'd better use another Lower function to eliminate the interference of case. Below are the steps:

    1. OnStart of the App:

    Set(varEmail,Lower(User().Email))

    vjefferni_1-1635924542350.png

     

    2. Visible of the button inside the Gallery:

    If(
     Lower(ThisItem.'Project Manager'.Email) = varEmail,
     true,
     false
    )

    vjefferni_2-1635924610220.png

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard