cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to join 2 data sources and display in a text or label.

I have read the other posts but they add column. What I am trying to do is join two SharePoint lists (2 data source in power app lingo) and disply on a "Detail screen".

_________________________________________

Table one:

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

Field1:BW Tools Number  |  Field2: Unit | Filed3: Date Created

 

___________________________________

Table two:

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

Field1: BW Tools Number | Field2: Person Created | Field 3: Out of Service

*******************************************************************************************************************

I have added a text input box and added "LookUp(Table One,ID=BW_x0020_Tools_x0020_Number,Unit)" but when I run application, nothing shows up in the text box. Hence, I tried with a label but the the result, no go.

 

FYI: - On the detail screen , I have added/used table 2 as a data source.

What do I have to change in the lookup.

2 REPLIES 2
Super User
Super User

I am not sure what your actual table and field names are but try something like this but replace the table and field names with the actuals names. This assumes that Field1 in each table are the keys.

 

LookUp(Table1, Field1 = Table2.Field1 ,Unit)



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.
Anonymous
Not applicable

Thanks Jeff,

I will try it out. Sorry for thte belated reply as I was away.

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (90,960)