web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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,679 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard