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 Platform Community / Forums / Power Apps / PowerApps place label ...
Power Apps
Answered

PowerApps place label with value from another card where ID's match

(0) ShareShare
ReportReport
Posted on by 57

I am trying to place a label on a form where I pull the value from another form in the same app and place it when their ID's match. I have the query worked out but am unsure of how to format this in PowerApps so the label displays this queries result.

Here is my query: ('[Administration].[Address_Type]'.name) Where ('[Administration].[Address_Type]'.id) = DataCardValue15

I am trying to display the Address_Type name where the ID matches the current screen (Class) ID.

GregGuth_1-1596726843265.png

In the case above the ID is 1 so based on the query and the Type list shown below, the text should read "Default"

 

GregGuth_0-1596726774301.png

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at

    Use this structure:

     

    LookUp(Datasource,Column= Value(DataCardValue15.Text), ColumnToReturn)

     

    So try;

    LookUp(

    '[Administration].[Address_Type]',id = Value(DataCardValue15.Text),Address_Type)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • GregGuth Profile Picture
    57 on at

    Thank you! You did an excellent job of explaining how and when to use the "LookUp" function!

    This should be a great resource for others to use and follow.

    My final solution was:

    LookUp('[Administration].[Address_Type]',id=Value(DataCardValue15.Text),name)

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