Filter Power App form by connected user

termeric

Active Member
Joined
Jun 21, 2005
Messages
280
Hello, i'm new to power apps and am trying to set my form to show data for whomever the current user is.

I start by declaring a variable on start Set(varUserName, User().Fullname);

and the filter i am using for my form is. Filter('New Hire Data', 'New Hire Data'.Name = varUserName.

When i run my app i get no items to display, even though i have my self entered into the sharepoint list that this is connecting to. any idea what i could be doing wrong here?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
You are missing a bracket at the end of the Filter :biggrin: , but that's not the problem

I am no expert in PowerAppS, but my guess may be that the Names could be in different format, the User().FullName would give say "Bill Gates", be sure the Name column in "NewHireData" does not give "Gates, Bill", that's probably the first thing to check, if that piece is consistent, the filter should be fine
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,184
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top