web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 976mYAINun+6KexPUE6Vez
Power Apps - Building Power Apps
Answered

Sharepoint List Lookup

Like (0) ShareShare
ReportReport
Posted on 27 Apr 2020 05:15:44 by 132

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

 

I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    150,995 Most Valuable Professional on 27 Apr 2020 at 06:09:47
    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.

  • Verified answer
    Ogun_ustun Profile Picture
    132 on 27 Apr 2020 at 06:02:41
    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

  • WarrenBelz Profile Picture
    150,995 Most Valuable Professional on 27 Apr 2020 at 05:37:47
    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.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 752 Most Valuable Professional

#2
developerAJ Profile Picture

developerAJ 472

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 358 Super User 2025 Season 2

Last 30 days Overall leaderboard