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 / Setting Dropdown input...
Power Apps
Answered

Setting Dropdown input field Default Value to Logged User Name

(0) ShareShare
ReportReport
Posted on by 81

Hello,
I have a couple of dropdown inputs that serve as inputs to a gallery based on a Sharepoint list (Projects List). Once selected, the ˜project details˜ Edit Form opens for editing on a side gallery.

The project list has a ˜Responsible Person˜ column filled with a user assigned to each project.

 

One of my filtering dropdowns is based on that ˜Responsible Person˜ column. The Items formula to the dropdown is: Sort(Distinct(Projects List,'Responsible Person'.DisplayName),Result,Ascending)

 

I want that dropdown input to default to the logged User's name on start (so that the user can go straight to his assigned projects), but I also want them to be able to select other team members' names and be able to edit their projects in case they are on vacation, etc. How do I set that default value? Also.. .DisplayName doesn't seem to be a function that the Dropdown input understands.
Please help!

Categories:
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    In the dropdown box's Default property, you can use this formula, assuming the display name in your source is their O365 username.

    Office365Users.MyProfileV2().mailNickname

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up. 

  • Verified answer
    pperrot1 Profile Picture
    81 on at

    Yes, it worked!
    I just had to tweak the formula to:

     

    Office365Users.MyProfileV2().displayName

     

    Thank you very much!!!

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard