Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Filtering a lookup based on 2 lookup values

(0) ShareShare
ReportReport
Posted on by

Hi,

I am aware that I can filter a lookup based on a related record, so fine so good. However I need to filter the 3rd lookup based on the previous 2 lookup values. 

 

I read about rendering it via entity form metadata as dropdown and then modify it with javascript.

 

newmay_0-1644843087830.png

Could anyone assist me with writing the javascript for it?

 

Thanks!

  • OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: Filtering a lookup based on 2 lookup values

    Hi @Anonymous ,

    Check my blog post on how dynamically filter lookup - https://www.dancingwithcrm.com/custom-lookup-filtering-powerapps-portal/ 

  • Community Power Platform Member Profile Picture
    on at
    Re: Filtering a lookup based on 2 lookup values

    @v-qiaqi-msft Hi! It is a form within a webpage on the power apps portal thats why I posted it here 🙂

  • v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Filtering a lookup based on 2 lookup values

    Hi @Anonymous,

    I think you have got the wrong place, you should go to Dynamics Forum.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June 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
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35