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

@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

View solution in original post

2 REPLIES 2
RandyHayes
Super User III
Super User III

@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

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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.

Top Solution Authors
Top Kudoed Authors
Users online (1,865)