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 Apps / Filter choices based o...
Power Apps
Answered

Filter choices based on mutual lookup field choice

(0) ShareShare
ReportReport
Posted on by 2

I have a list with a list called "Clients". One of the fields is "Protocol ID".

I have another list called "Investigator List" where they choose the "Investigator Protocol ID" as a look up to the client list's Protocol ID. And an "Investigator Name" field.

I have a third list called "Schedule Monitoring Visits" where they choose the "Site Visit Protocol ID" as a lookup to the client list and "Investigator" as a lookup to the Investigator list.

 

I want the Investigator lookup in the Site Visit list to be filtered based on the "Site Visit Protocol ID" choice.

 

I've tried:

Filter(Choices([@'Schedule Monitoring Visits'].'Investigator Name'), 'Investigator List'.'Investigator Protocol ID'.Selected.Id = DataCardValue13_1.Selected.Id)

 

Where DataCardValue13_1 is the card value of the Protocol ID in the Scheduling Monitoring Visit list.

But it's throwing an error for 'Investigator List'.'Investigator Protocol ID'.Selected.Id.

 

I'm wondering if it's because I'm trying to match two lookup fields?

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @infoCRA ,

     

    Please try below formulas for the Investigator Combo box:

    Items: 

    Filter(
     Choices([@'Schedule Monitoring Visits'].'Investigator Name'), 
     Value = LookUp(
     'Investigator List', 
     'Investigator Protocol ID'.Value = DataCardValue13_1.Selected.Value
     ).'Investigator Name'
    )

     

    Best regards,

     

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 387

#2
timl Profile Picture

timl 340 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 301

Last 30 days Overall leaderboard