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 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:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard