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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Filter Lookup values b...
Power Pages
Unanswered

Filter Lookup values based on another Field in Power Pages

(0) ShareShare
ReportReport
Posted on by 6

I have created a Power Pages form in which there are two fields (i.e. school type (choice field) and the other is the school name (lookup field) listing all the schools). 

The functionality I want to achieve is to filter all the relevant schools based on their types. Any suggestions as to how can I achieve this?

Thanks.

Categories:
I have the same question (0)
  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at

    Hi @sobaidullahali ,

     

    Suggestion: The simplest and easiest way to achieve this using OOB features is to change your school type (choice) column to a lookup. By doing this you can enable OOB lookup filtration by using Lookup Related records properties. Also, if you have to show your school type (lookup) column as drop down on Portal you can change it using OOB Portal feature to show your lookup as list. By doing this you will have flexibility to add more schools anytime and you don't have to do any changes even if you change any relationship.

     

    On other hand, if you still want to still to your current model and dropping column is not an option then have to add custom script to achieve this, there is no OOB workaround available on Portal side. You check following article to achieve this:

     

    https://oliverrodrigues365.com/2021/01/24/power-apps-portals-custom-lookup-filter/

     

    Feel free to ask, if you have any questions.

     

    Thanks,

    Saud

     

    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.

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @sobaidullahali ,

    You can check out my blog post where I am explaining how you can filter lookup based on another lookup dynamically. You can apply the same logic for your scenario.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard