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 / Unable to get the auto...
Power Apps
Unanswered

Unable to get the autopopulated items based on a dropdown selection

(0) ShareShare
ReportReport
Posted on by 613

Hi,

I have list A with look up field Fac. On powerapps, I need to prepopulate 2 fields based on the selection of the dropdown lookup field.

 

Eg: when Lookup field from List A- Fac (dropdown) is selected; two fields (Department and Manager) related to the column should auto-populate on my Canvas app.

 

Please assist anyone?

 

Thank you

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @Teresa24486 could you share more information.

     

    1. What is your data source
    2. What are the control types for Department and Manager? Are they text fields?
    3. What are the field types for Department and Manager in your data source? Are they single line text fields/choices fields?
    4. How are these two fields related to your "Fac" Lookup field?
  • SanmeshG Profile Picture
    1,947 Moderator on at

    Hi @Teresa24486  ,

     

    I am assuming that Manager is a Person or Group type of column(I am assuming SP is your data source here) and Department is a choice column.

    Set the default selected Item property of the Manager Combo box to the below. 

     

    {
     DisplayName: LookUp(
     Department,
     Department = Dropdown1.Selected.Value
     ).Manager.DisplayName,
     Claims: "i:0#.f|membership|" & LookUp(
     Department,
     Department = Dropdown1.Selected.Value
     ).Manager.Email,
     Department: "",
     Email: LookUp(
     Department,
     Department = Dropdown1.Selected.Value
     ).Manager.Email,
     JobTitle: "",
     Picture: ""
    }

     

     For Department the formula is similar. Now it depends what type of column is Department in your list. For text you can use the below in the default property of your text control.

     

    LookUp(
     Department,
     Department = Dropdown1.Selected.Value
    ).Department

     

    If Its choice then you can use below formula in your default selected Items property of your combo box

     

     

    {
     Value: LookUp(
     Department,
     Department = Dropdown1.Selected.Value
     ).Department
    }

     

     

     Hope this helps!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard