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 Lookupcolumn us...
Power Apps
Answered

Filter Lookupcolumn using selection in another lookupcolumn

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey All,

 

I am trying to filter one lookupcolumn in Sharepoint(ItemID) based on the selection in another lookupcolumn in sharepoint(ProjectID).

Background: I have 3 SP lists,

1. Project Level 2. Item Level 3. FCitemlevel.

  1. the form I am editing is based on 3rd List FC item level. It has lookup columns ProjectID(looks into project level for list of project numbers) and ItemID(looks into Item level list for list of items created)
  2. the Itemlevel list also has lookup into project ID which is called LookupProject.

I tried below formula in items field for ItemID but failed

Filter(Choices([@'FC-ItemLevel'].ItemID), 'Item Level'.LookupProject = ProjectIDInput.Selected.Value)

 

ArunKrishnan_0-1605607966942.png

 

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Consider changing your formula to the following:

    Filter('FC-ItemLevel', 'Item Level'.LookupProject = ProjectDInput.Selected.Value)

    Then set your display value to ItemID in the dropdown.

     

    That should give you what you need.

    I hope this is helpful for you.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes 

    Thanks for your reply.

    What do you refer here as Display value of dropdown? do u mean display fields option shown in pic?

    ArunKrishnan_0-1605628050745.png

     

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Yes, but to be clear now (based on your picture) your control is NOT a dropdown, it is a combobox.

    You can set the field layout easier in the property pane on the right of the designer.  For a combobox, you will have a "Fields" property with an edit link next to it.  Click on that and you can choose the display fields quickly.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey, I tried the forumla. got delegation warning. But no items to select in the preview mode.

    I am not sure where to set the items. I tried in Displaymode but only thisitem.ItemID option is available.

    ArunKrishnan_0-1605628770005.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hey, Apologies. @RandyHayes 

    Yes both are combo box. They are lookup field in my list referring to another list.

    Should the formula still change to Filter('FC-ItemLevel', 'Item Level'.LookupProject = ProjectDInput.Selected.Value) and then edit fields in property pane to show itemID?

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    From your picture, your Combobox has a dependency in it.  Remove that dependency.

    And yes to your last question...change the Items property formula as suggested and then select the proper display field in the edit fields.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @RandyHayes 

    Filter('Item Level', LookupProject.Value = ProjectIDInput.Selected.Value).Title

    Above formula in Items worked. I removed choices thing in my formula and looked up into Item level rather my current list.

    Thank you for looking into my request.

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 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard