web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Filter a Sharepoint li...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard