Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
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.

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Filter Lookup values based on another Field in Power Pages

    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.

  • Saud Ali Profile Picture
    812 Super User 2024 Season 1 on at
    Re: Filter Lookup values based on another Field in Power Pages

    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.

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43

Featured topics