cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Sharepoint List in Powerapps

Hi there,

I have a SharePoint list with two columns, see below: 

MedarbejderNr.PNG

 

One is Name and the other is Number. Now the "Name" column corresponds to the User().FullName that can be made in PowerApps with the Office365 connection.

What i would like to achieve is to say, If the Users name is put in I would like to display the corresponding number on the list in another textfield(Input of Label) 🙂 

Anyone who knows or can think of a clever idea to do this?  I am a bit stumped myself 🙂 

Thanks in advance. 
- Tobi

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Helper IV
Helper IV

Re: Sharepoint List in Powerapps

Nevermind, 

Found the solution myself after mocking around for a bit, using the LookUp function. 
So the solution is:

LookUp(MedarbejderNr;Navn1 = User().FullName;'2)Nr')

 
One thing to note here is that there can be an issue with larger data sets as it loads the data outside the app, however in my case it is a dataset of "only" about a hundred occurences 🙂 

Hope this may help whoever will need it 🙂 

- Tobi 

View solution in original post

Highlighted
Super User
Super User

Re: Sharepoint List in Powerapps

Store User().FullName in a variable outside and then use it in the lookup. You should not have a problem with delegation (the large dataset warning you are talking about).

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com

View solution in original post

2 REPLIES 2
Highlighted
Helper IV
Helper IV

Re: Sharepoint List in Powerapps

Nevermind, 

Found the solution myself after mocking around for a bit, using the LookUp function. 
So the solution is:

LookUp(MedarbejderNr;Navn1 = User().FullName;'2)Nr')

 
One thing to note here is that there can be an issue with larger data sets as it loads the data outside the app, however in my case it is a dataset of "only" about a hundred occurences 🙂 

Hope this may help whoever will need it 🙂 

- Tobi 

View solution in original post

Highlighted
Super User
Super User

Re: Sharepoint List in Powerapps

Store User().FullName in a variable outside and then use it in the lookup. You should not have a problem with delegation (the large dataset warning you are talking about).

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com

View solution in original post

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,887)