cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Data_Enthusiast
Post Patron
Post Patron

FILTER for specific person and RETURN associated value

Hi Power Apps Community,

I am trying to filter / lookup into a SharePoint list which has various user information. 

Example: SP list has a User field and a Value field. Based on the user logged in, return the associated value for that user.

I would appreciate any help.

Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User
Super User

@Data_Enthusiast 

Consider the following formula if your User column is a text column and has an email value stored in it.

LookUp(yourList, User=User().Email, Value)

If your column is a Person column in SharePoint, then consider the following: 

LookUp(yourList, User.email=User().Email, Value)​

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

2 REPLIES 2
RandyHayes
Super User
Super User

@Data_Enthusiast 

Consider the following formula if your User column is a text column and has an email value stored in it.

LookUp(yourList, User=User().Email, Value)

If your column is a Person column in SharePoint, then consider the following: 

LookUp(yourList, User.email=User().Email, Value)​

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

@RandyHayes 

Ah I was missing the ",Value" at the end 😩

Thank you so much. This solved my issue.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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