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 / Need to filter lookup ...
Power Apps
Answered

Need to filter lookup based on selected item in another lookup

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I created a client entity that only includes client name.  I also created a project entity that includes project name and the name of the client that they are assigned to.  I then created a third entity that includes two lookups in the form screen, client and project.  I want the project lookup to filter to show only projects that are assigned to the client selected in the client lookup.  I believe the formula should be similar to LookUp(Projects, Projects.ClientName = ClientLookup.Text).  ".Text" was not allowed (the error said "Invalid Name"), so I changed it to ".Selected".  Also "=" gave an "Invalid argument type" error.  (I may need to use a Filter formula instead of a Lookup formula.)

How do I get the project lookup to correctly filter based on the selected client?

 

Thanks in advance!

Categories:
  • Verified answer
    v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Do you have the clientLookup configrued with a dropdown control?

    If yes, then we could modify the formula as below:

    LookUp(Projects, Projects.ClientName = ClientLookup.Selected.Value)

    Besides, it would be more helpful if you could share a screenshot of the screen yo uare working with.

     

    Regards,

    Michael

  • nickduxfield Profile Picture
    497 on at

    Based on v-micsh-msft

     

    If you are usimng a SharePoint list, you may also need to identify the ID of ther item in the lookup syntax.

     

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 Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard