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 does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
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,215,652
Messages
6,126,033
Members
449,281
Latest member
redwine77

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