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

Re: Sharepoint List Lookup

@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

Highlighted
Super User III
Super User III

Re: Sharepoint List Lookup

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
Highlighted
Super User III
Super User III

Re: Sharepoint List Lookup

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.

 

 

Highlighted
Helper III
Helper III

Re: Sharepoint List Lookup

@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

Highlighted
Super User III
Super User III

Re: Sharepoint List Lookup

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (10,430)