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 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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,243)