Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Unable to get the autopopulated items based on a dropdown selection

(0) ShareShare
ReportReport
Posted on by 611

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:
  • SanmeshG Profile Picture
    1,938 Super User 2025 Season 1 on at
    Re: Unable to get the autopopulated items based on a dropdown selection

    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!

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on at
    Re: Unable to get the autopopulated items based on a dropdown selection

    @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?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard