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 / Add Values to drop dow...
Power Apps
Answered

Add Values to drop down list based on current logged in user

(0) ShareShare
ReportReport
Posted on by 86

Hi, 

I currently have an app for time off request based off a sharepoint list. 

For the requestor field, I have it set that it automatically generates their name based on the email they log into the app from.

 

I have 2 employees that use the same email.  I would like the requestor field to contain a drop down box, with User A and User B names only but only when this specific email logs in.  Could anyone assist me with this?

 

Thank you

Categories:
  • Verified answer
    Chris-D Profile Picture
    1,246 on at

    Hi @sgiorgio, I think the best way to go about this is to have the dropdown present for all users. 

     

    Put this code in the Items property:

    If( User().Email = "person@example.com",
     [ "person@example.com - Person 1", "person@example.com - Person 2"],
     [ User().FullName]
    )

     

    If the user has a specific email, it creates a list of 2 selections. Otherwise the only option available is the users full name. 

  • sgiorgio Profile Picture
    86 on at

    Thank you so much for the fast reply, it worked!

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 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 190 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard