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

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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (3,345)