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 / Automatically populate...
Power Apps
Answered

Automatically populate "LOOKUP" field

(0) ShareShare
ReportReport
Posted on by 633

Hello, 

Could you do me a favor?

 

I spent too much on that but I haven't found any solution yet. 

happyyear_0-1683231758931.png

I created one app based on the B_list  using "Edit form"

Primary Category and Second Category are the datacards. 

 

If the primary category is Sale department, the secondary category should be populated with only the job that are included in the Sale Department.

 

I am not sure if that is feasible. Thank you. 

 

 

Categories:
I have the same question (0)
  • Verified answer
    mmollet Profile Picture
    3,187 on at

    for the items in your second dropdown add this code:

    Filter(A_List, Department = "Sale department")

     

    You could also use a variable to do this and it would dynamically change based on what the first dropdown had selected. For example if Sale department is selected it will only show those options but if Finace is selected then it will

    Items of second dropdown: Filter(A_List, Department = Dropdown1.Selected.Value). The spelling with have to be spot on though or it might not work so make sure you have that correct. One way to solve that is to use the lower function to force everything into lower case. 

  • happyyear Profile Picture
    633 on at

    @mmollet I already tried that one. I don't know why it didn't work. I googled a lot, but I haven't resolved this issue. 

  • Verified answer
    mmollet Profile Picture
    3,187 on at

    Are these complex columns in SharePoint or just text/number fields? I have tried this on my end 3 times now and it has worked pretty well. If you are using complex columns then I'm not 100% sure how to fix that. I dont use complex columns as they are nothing but problems in Power Apps.

  • happyyear Profile Picture
    633 on at

    This is not a normal dropdown button. That is from a form, that dropdown was a part of the datacard. I am not sure that is why It didn't work. 

  • happyyear Profile Picture
    633 on at

    Data source is Sharepoint and that column is lookup(text). I used a customize form. 

    happyyear_0-1683234449542.png

    Once you use Sharepoint, there is a customize form above. I used that form. 

     

  • happyyear Profile Picture
    633 on at

    @mmollet Hey I resolved the issue. I deleted the datacardvalue and added a dropdown list and followed your instructions. Thank you so 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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard