cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Reply
-shrug-
New Member

How do I pull data from one cell according to login info

Hi all,

I was wondering how I can pull data from one cell according to a login.

All specific info is in one row of data.

Thx.

๐Ÿ™‚

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @-shrug- 

 

To get the details of currently logged in user, you can use the User() function, this can return you Full Name, EMail and Image of current logged in user.
 
 
Also, to get the results from a certain datasource based on details, you can use Filter/Lookup functions. Lookup pulls the first matching record and Filter gets all the records that matches the criteria.
 
Expression: 
Filter(DataSourceName, Name = User().FullName)
The above expression pulls all the rows from datasource where "Name" column is equal to FullName of current user. You need to replace DataSourceName with your specifics. 
 
If you are looking for a specific expression, based on your scenario, please share more details about the schema of you datasource and the operation that you are trying to do through PowerApps.
 
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!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @-shrug- 

 

To get the details of currently logged in user, you can use the User() function, this can return you Full Name, EMail and Image of current logged in user.
 
 
Also, to get the results from a certain datasource based on details, you can use Filter/Lookup functions. Lookup pulls the first matching record and Filter gets all the records that matches the criteria.
 
Expression: 
Filter(DataSourceName, Name = User().FullName)
The above expression pulls all the rows from datasource where "Name" column is equal to FullName of current user. You need to replace DataSourceName with your specifics. 
 
If you are looking for a specific expression, based on your scenario, please share more details about the schema of you datasource and the operation that you are trying to do through PowerApps.
 
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!

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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience whatโ€™s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (53,852)