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 / Text field/drop-down n...
Power Apps
Answered

Text field/drop-down needs to be pre-populated by previous drop-down selected value (Sharepoint list Soource)

(0) ShareShare
ReportReport
Posted on by 112

Hello all, 

I have been having problems getting a text field or a drop-down box to pre-populate and filter the value shown based on the previous drop-down a user would select. This is all coming from a sharepoint list. I have tried using this formula to get the cascading drop-downs to work: "Filter('Executive Sponsors - Tyler Dev', BusinessDomain = BusinessUnit_Dropdown.Selected.Value)"

 

The source has columns of people and BusinessDomain where each row in people belong to a business domain(Clinical, Administrative, Academic). What I am looking for is to have the Business Domain value selected by the user on the form auto-populate the Executive sponsor field which comes from the person column in SP. 

 

Any help on this would be truly appreciated. Thank you! 

 

Screenshots: 

Source Columns: 

jbinder4_1-1631026006538.png

 

Interface in PowerApps:

jbinder4_0-1631025931554.png

 

 

- Jacob 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    if business domain is choice type column in sharepoint then

    Filter('Executive Sponsors - Tyler Dev', BusinessDomain.Value = BusinessUnit_Dropdown.Selected.Value)

     

    Also you may need to mention the column you want to display

    Filter('Executive Sponsors - Tyler Dev'.ColumnName, BusinessDomain.Value = BusinessUnit_Dropdown.Selected.Value)"

  • jbinder4 Profile Picture
    112 on at

    Hello, 

     

    Thank you so much for your input on this! Your first function got mine to run error free, but not give any output. The second function given created errors for my function. Could this issue be because the column within my sharepoint is a people/group based column?

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Are you using DropDown or ComboBox?

    Filter('Executive Sponsors - Tyler Dev', BusinessDomain.Value = BusinessUnit_Dropdown.Selected.Value)

    If the above code is working for you. Try looking for the output in the formula bar. Attach a picture if you can.

  • jbinder4 Profile Picture
    112 on at

    I am using a drop-down. Here below is what I believe you are asking for: 

     

    jbinder4_0-1631029717247.png

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Filter('Executive Sponsors - Tyler Dev', BusinessDomain.Value = BusinessUnit_Dropdown.Selected.Value).ColumnNameThatYouWantToDisplayInDropDown

  • jbinder4 Profile Picture
    112 on at

    I am still not quite receiving the correct output. I apologize that this is not turning out to be an easy fix. 

     

    Here is my output with that code: 

     

    jbinder4_0-1631030198329.png

     

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Try Person.DisplayName

  • jbinder4 Profile Picture
    112 on at

    I received an error on adding the .DisplayName

  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Ok. I got it. I created the same scenario:

    Item property of your dropdown will be

    Distinct(Filter('Executive Sponsors - Tyler Dev', BusinessDomain.Value = BusinessUnit_Dropdown.Selected.Value),Person.DisplayName).Result

     

    a.jpga2.jpga3.jpga4.jpg

  • jbinder4 Profile Picture
    112 on at

    This was indeed the correct solution!! Thank you so much. I will go ahead and accept this as my solution.  

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 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard