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 Apps
Answered

Update DataCard

(0) ShareShare
ReportReport
Posted on by 4

I'm trying to update a DataCard based on a value selected in a dropdown list. This is what I have

LookUp('[dbo].[Master Lumber Inventory]','Pack ID'= Dropdown1.SelectedText)

 

However, nothing is populated.  Any help??

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @ptodd1 ,

    Could you please share a bit more about the Data card that you mentioned? Is it a Text Input box or a ComboBox?

    Do you want to populate Data card value in a Edit form based on Dropdown selected value?

     

    If you want to populate a Text Input box within a Edit form based on the Dropdown selected value, please consider set the Default property of the Text Input Box (TextInput1) to following:

    LookUp('[dbo].[Master Lumber Inventory]','Pack ID'= Dropdown1.SelectedText.Value, ColumnName) // ColumnName represents the column value you want to reference from your '[dbo].[Master Lumber Inventory]' table
    

    or

    LookUp('[dbo].[Master Lumber Inventory]','Pack ID' = Dropdown1.SelectedText.Value).ColumnName
    

    Note: Please type Dropdown1.SelectedText.Value rather than Dropdown1.SelectedText. The result the Dropdown1.SelectedText formula returned is a record value rather than a Text value.

    Then set the Update property of the Data card which contains the Text Input box to following:

    TextInput1.Text

     

    If you just want to LookUp a record value based on the Dropdown selected value, please consider modify your formula as below:

    LookUp('[dbo].[Master Lumber Inventory]','Pack ID' = Dropdown1.SelectedText.Value)

     

    Please take a try with above solution, check if the issue is solved.

     

    Best regards,

  • ptodd1 Profile Picture
    4 on at

    The Lookup record based on the Dropdown list worked great! Thank you

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard