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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Get data with User().E...
Power Apps
Answered

Get data with User().Email function

(0) ShareShare
ReportReport
Posted on by 159

Hi Team, I hope you are doing well and covid free 🙂

 

I am building a power apps App with a datasource in SP list, is a simple form that gets data and register data to the list of SPs.

but I need a formula that allows me to get the data from another column when the user using the app is in the list.

 

I have the following list of data in SP:

Datasource: PagosBDF

Name                 Email                      Cost

Jaime             jaime.mtz07@....            40

jose                jose.mtz07@......             80

Pedro             pedro.mt07@....             120

 

when the user jose.mtz07@.... is using the app I want to obtain in a TextInput the value of the Cost column (80), If the user who is using the application is Jaime.mtz07@... I want to obtain the value of the cost column (40).

 

I was using this formula Value(LookUp(PagosBDF, User().Email in PagosBDF.Email, Cost)     but I only get the first value of the entire SP list, can you help me?

Categories:
I have the same question (0)
  • Verified answer
    rebeccas Profile Picture
    2,591 on at

     

    This should give you what you are needing as long as the "Email" is the actual name of the column on your SP list.

     

    LookUp(PagosBDF, User().Email, Cost)

     

    Here is just as a reference:

    LookUp(SPList, SPColumnName = MyVariable, SPColumnIWant)

     

    If you are going to use this in more than one place in the app I would suggest you set this as a variable at the apps OnStart and can refer to it where you need to instead of LookUps in multiple spots.

     

    Rebecca

  • timl Profile Picture
    36,634 Super User 2026 Season 1 on at

    @jaimeMtz07 

    I'm pretty sure what @rebeccas intended to say is this - note the 'Email=' part of the condition.

    LookUp(PagosBDF, Email=User().Email, Cost)

     

  • jaimeMtz07 Profile Picture
    159 on at

    Thanks a lot Rebeccas

  • jaimeMtz07 Profile Picture
    159 on at

    Thank a lot Timl, When I tried Rebecca's code I realized this, thank you very much I will still accept Rebecca's solution just because she answered first hehe

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard