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 / Selected items from a ...
Power Apps
Unanswered

Selected items from a SharePoint List pull a new collection of items from a separate SharePoint List

(0) ShareShare
ReportReport
Posted on by 60

Hello PowerApps Community!
We have two departments maintaining two separate SharePoint Lists. My app is trying to use information from each.

I have the following things built:

 

SharePoint List: "SPOUs" (2 columns: "Title" and "OUs")
SharePoint List: "SPMDs" (2 columns: "Title" and "MDs") The "Title" column contains records of only three letters.

ComboBox: "Combo_OUs"

> OnSelect: ClearCollect( Collection_OUs, GroupBy( Filter( 'SPOUs',Title <> "LSA" ),"OU","OU"))

> Items: Collection_OUs

ComboBox: Combo_MDs

> OnSelect: ???

> Items: ???

 

  1. The user uses Combo_OUs to select the OUs they want.
  2. I now want that the following to happen:
    1. Concat the list of selected OUs (again, these originally reside in SharePoint List "SPOUs"), but only the first three letters of each selection.
    2. Query the SharePoint List "SPMDs" to find records where the "Title" column matches any of the first-three-letter-values from (a).
    3. Create a collection of the corresponding "MDs." I also want this list to have distinct (non-repeating) values.

 

PLEASE let me know if I need to clarify. In essence, creating a collection of OUs from one SharePoint list should create a collection of MDs from a different SharePoint List. The first three letters of the selected OUs are matched to the Title column of the second SharePoint List to find the corresponding, distinct MDs.

 

Thank you all in advance for your assistance. This is probably the most complex piece of PowerFx I've tried to tackle and have gotten stuck many times.

Categories:
  • stellarwheels Profile Picture
    60 on at

    I actually felt like my description was hard to follow, so I made this diagram instead. The orange indicates where I am stuck.

    Capture2.PNG

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard