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 a Sharepoint li...
Power Apps
Answered

Filter a Sharepoint list based on a lookup column value

(0) ShareShare
ReportReport
Posted on by 13

Hello,

 

I have 3 SharePoint lists:

- first list is the main list "Projects" contains a lookup column named "Division" populated by list: "Ref Division"

- second list "Ref Division" that includes the division in the Title column (Text) and the department value in a lookup column "Department

- third list "Ref Department" that contains department value in Title column.

 

List "Projects"

Project code  Description Division (lookup)

007                Skyfall         MI6

 

List "Ref Division"

Title            Department (lookup)

MI6             Operations

 

List "Ref Department"

Title

Operations

 

What I am trying to achieve is to filter the division in the Projects form based on the selected department (which is currently not part of the Projects list).

I did add a new connection to 'Ref Division' list and did add a drop down (Dropdown1) in the form that shows the departments using this formula in Items:

Choices([@'Ref Division'].Department)

 

By default the division dropdown is the lookup from the main sharepoint list and Items forumla is:

Choices([@'Projects'].'Division')

 

How can I populate the division dropdown from the Title column of "Ref Division" instead and then filter division choices based on the selected department in Dropdown1?

Can the filtering be accomplished with my data structure? If not what do I need to change?

 

Thank you

Sylvain

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @chops1,

    Do you want to filter Division based on selected department?

     

    Please set the Items property of the Division dropdown control as below:

    Filter(Choices([@'Projects'].'Division'),Value in Filter('Ref Division',Department.Value=Dropdown1.Selected.Value).Title)
  • chops1 Profile Picture
    13 on at

    Excellent. That did the trick. Thanks very much.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard