cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lparkerMDVIP
Helper III
Helper III

Display Current User's Points from SharePoint List

Hopefully this one isnt too tricky! But here is goes!! 🙂

I'm trying to create a proof of concept of a PowerApps store.

Managers will add users to this SharePoint List, by adding their name and number value of Points.

Next, I would like the employees who are in the list to log into PowerApps and see the number of points they have available.

 

For example, if Lawrence logs into the app, he should see 115 points, Jason should see his 259 points, etc. I'm thinking maybe User().Full Name = Employee Name could be used, but any help could be appreciated!!!

 

 

 

List1.pngPoints2.png

1 ACCEPTED SOLUTION

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @lparkerMDVIP ,

 

What is the column type of "Employee Name"? If it's text column, please use the formula that @yashag2255  suggested in the Text property of label control.

 

But if it's a person and group field, then please use below one instead:

LookUp(ListName, 'Employee Name'.Email= User().Email,Points)

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @lparkerMDVIP 

 

To get the details of the loggedin user, you can use the below expression:

LookUp(ListName, 'Employee Name' = User().FullName).Points

This way logged in user can only get their respective points.

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-monli-msft
Community Support
Community Support

Hi @lparkerMDVIP ,

 

What is the column type of "Employee Name"? If it's text column, please use the formula that @yashag2255  suggested in the Text property of label control.

 

But if it's a person and group field, then please use below one instead:

LookUp(ListName, 'Employee Name'.Email= User().Email,Points)

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

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 (2,065)