cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User
Super User

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

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.
Highlighted
Anonymous
Not applicable

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

Thanks Jeff,

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

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (6,603)