web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Filter Look up field.
Power Pages
Unanswered

Filter Look up field.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

I have two entities: Entity A and Entity B. Using Power Apps  portal, I have an entity form which is in A Entity and everything works fine.

 

Note: There is a many to one relationship between B Entity to A Entity

 

Now, I have B Entity which contains like Id, Name etc. On Power Apps portal, in an entity form I have added a look up field which only contains Id.

 

What I want is, On an entity form when a current user of portal sign in and want to select his id from look up field, it only show his/her id not every id (like  now i can see all users id from Entity B) .

 

Next, when a user select id, all data from Entity B fills in the form.

 

Is this possible to filter a look up field according to the current user portal? 

 

I have filter entity form and list for the current portal user. 

 

Can anyone please guide me on this?

 

Regards,

Ahmad.

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi

     

    For filtering lookup take a look at this blog post by @OOlashyn https://www.dancingwithcrm.com/custom-lookup-filtering-powerapps-portal/

     

    But in my opinion I am not sure you need that, if you want it always to be associated with the current user, you should set an Entity Form Metadata, and define the Prepopulate field (or Save Value on Save) as the current logged in user:

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-web-form-metadata#prepopulate-field

    lookup.PNG

     

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 35

#2
M Bilal Khan Profile Picture

M Bilal Khan 33

#3
11manish Profile Picture

11manish 21 Super User 2026 Season 2

Last 30 days Overall leaderboard