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 / How to populate data i...
Power Apps
Unanswered

How to populate data in text input fields based on previous dropdown selection?

(0) ShareShare
ReportReport
Posted on by 11

Hello, 

 

I am trying to populate data in various Text Input fields based on a previously completed dropdown menu. 

 

In this example, I want a user to be able to select a fund name from a dropdown menu, and based on their selection, see that fund's respective share class, CUSIP, symbol, and Internal Fund Number. I am able to get the dropdown list working, and all of the required data points are in an excel table, but I am not sure how to map those data points to the text fields in the app. 

 

Mwhitti1_1-1674084069843.pngMwhitti1_2-1674084091825.png

 

 

Mwhitti1_0-1674083941345.png

 

Categories:
I have the same question (0)
  • michelle4 Profile Picture
    98 on at

    Have you tried using a Lookup as the default value?

    It would look something like this:

     

    Lookup([Datasource], FundName = DropDown1.Selected.Value).ShareClass

    Lookup([Datasource], FundName = DropDown1.Selected.Value).Symbol

     

    Or to prevent have multiple lookups, set a variable using the onchange in the dropdown with a single lookup and reference each Value respectively. 

     

    onchange - Set(VarRecord, Lookup([Datasource], FundName = DropDown1.Selected.Value))

     

    Once you have the record variable you would then apply the default property using that variable

     

    VarRecord.Symbol 

     

  • Mwhitti1 Profile Picture
    11 on at

    Hi Michelle, thank you for your reply! I tried this method but was given an error (incompatible types for comparison): 

     

    Variables: 

    1. TestData is the name of the Excel table 
    2. fundName is the name of the top left cell with 'Fund Name' in it 
    3. drpFundName is the name of the Fund Name dropdown 
    4. 'Share Class Name' is the name of the Excel Column with share class names 

     

    Here is the formula I used: LookUp(TestData,fundName = drpFundName.Selected.Value).'Share Class Name'

     

    Mwhitti1_0-1674089357104.png

    Mwhitti1_1-1674089661106.png

     

     

  • michelle4 Profile Picture
    98 on at

    Try removing the .Value from your query - If it gives you an error, type the period and wait for the options it will autofill what types may be compatible. Might be .Text (Sorry I work in SharePoint Primarily and .value is a muscle memory. )

     

    LookUp(TestData, fundName = drpFundName.Selected).'Share Class Name'

  • Mwhitti1 Profile Picture
    11 on at

    Hi Michelle, thank you for your suggestion. I am still getting an error saying "Incompatible types for comparison" 

     

    Mwhitti1_1-1674146533768.png

     

     

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