cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ogun_ustun
Helper III
Helper III

Sharepoint List Lookup

Dear All,

 

Since i am new for creating powerapps i didn't manage to proceed lookup between SP list even if i tried to discover the sources on the net. My issue is as follows:

- Main list: I am using it for my app. There is Plant SAP Code columns. (Single Line of text)

- User List: There are columns SAP Plant Code, User Name, User E-mail 

What i want to proceed is; based on the user who is sing in the app (i have office365 connector) pull SAP Plant Code from User List and bring it to Main List on SAP Plant Code.

 

I tried to proeed the formula on the screenshot but didn't work. Can you please review and support me on this?

 

Thanks in advance.

 

User List.png2020-04-27 08_13_24-Unread Mail - Ogun.Ustun@yazaki-europe.com - Outlook.png

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

@WarrenBelz  i worked well ! thanks so much.

 

Last question:

 

Based on lookup result that you helped me i am trying to pull another data from another list. Screenshot below i wrote below formula but not worked. Do you think i am doing someting wrong on "DataCardValue2"?

 

LookUp(TONapp_PlantList,'Plant SAP Code'=DataCardValue2).Division

 

2020-04-27 08_57_55-Microsoft Edge.png

View solution in original post

Hi @Ogun_ustun ,

Maybe this

LookUp(
   TONapp_PlantList,
   'Plant SAP Code'=DataCardValue2.Text
).Division

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Ogun_ustun ,

Firstly, the correct syntax is (assuming your references are correct)

LookUp(
   TONapp4_UserList,
   Requester=User().Email,
   'Plant Sap Code'
)
OR
LookUp(
   TONapp4_UserList,
   Requester=User().Email
).'Plant Sap Code'

Also User().Email is not a delegable filter, so you can at App OnStart set a variable

Set(vUserMail,User().Email)

and use vUserMail in the Lookups.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

 

@WarrenBelz  i worked well ! thanks so much.

 

Last question:

 

Based on lookup result that you helped me i am trying to pull another data from another list. Screenshot below i wrote below formula but not worked. Do you think i am doing someting wrong on "DataCardValue2"?

 

LookUp(TONapp_PlantList,'Plant SAP Code'=DataCardValue2).Division

 

2020-04-27 08_57_55-Microsoft Edge.png

View solution in original post

Hi @Ogun_ustun ,

Maybe this

LookUp(
   TONapp_PlantList,
   'Plant SAP Code'=DataCardValue2.Text
).Division

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,773)