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 / Set dropdown values ba...
Power Apps
Answered

Set dropdown values based on login user in canvas app

(0) ShareShare
ReportReport
Posted on by 237

 

Hi community Team,

 

I created canvas app.Canvas app contain worklist and work dropdown and

  • datasource is  sharepoint list,it's contains column email,work and worklist.
  • Based on login user work and worklist dynamically show  login user records in canvas app dropdowns.

How can achieve thisone.Please Help

 

Thanks in Advance for earlier response....!

Categories:
  • Verified answer
    Shaheer Ahmad Profile Picture
    2,194 Moderator on at

    To dynamically show the login user's records in canvas app dropdowns based on their work and worklist, you can follow these steps:

    1. Start by adding the SharePoint list as a data source to your canvas app. Go to the "View" tab in the Power Apps Studio, click on "Data sources," and add your SharePoint list as a data source.

    2. Create a connection to the Office 365 Users data source. This connection will allow you to retrieve information about the logged-in user.

    3. Add a dropdown control to your canvas app and set its Items property to the following formula:

     

    Filter('SharePointListName', email = User().Email)

     

    1. Replace 'SharePointListName' with the actual name of your SharePoint list. This formula filters the list based on the logged-in user's email address, retrieving only the records that match.

    2. Customize the display fields and values of the dropdown control as per your requirements. You can set the DisplayFields property to the column you want to display in the dropdown, and the Value property to the corresponding column that represents the unique identifier for each item.

    3. Repeat the above steps for the worklist dropdown, adjusting the formula and column references to match the worklist column in your SharePoint list.

    By following these steps, the dropdown controls in your canvas app will dynamically display the records from the SharePoint list that match the logged-in user's email, work, and worklist.

    Remember to save and publish your app to apply the changes.

  • Powerappsuser11 Profile Picture
    237 on at

    Hi @ShaheerAhmad 

     

    Thanks for early response. Can you provide logic on worklist and work dropdown.If you provide it will easy  understand.

    Thanks  in advance for your help

  • Powerappsuser11 Profile Picture
    237 on at

    Hi @ShaheerAhmad ,

     

    Thank you so much, requirement achieved.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard