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 dropdown from...
Power Apps
Answered

Filter a dropdown from a SP and getting results from the same list dynamically

(0) ShareShare
ReportReport
Posted on by 223

Hi All,

 

I have a SP list as shown below;

List1			
Title	Objective	ObjectiveGroup	DeptID
Item1	Objective1	Objective GroupA	1
Item2	Objective1	Objective GroupB	1
Item3	Objective1	Objective GroupB	2
Item4	Objective2	Objective GroupC	2

I have added a form to capture the above information to a separate list called List2

List2		
Title	SelectedObjective	SelectedObjectiveGroup
		
		
		
		

In the form, I added a Dropdown (drp1) in a DataCard and populated the Item field to show distinct Objective Column using the following Code:

Distinct(Filter(List1,DeptID = varRecord.ID),Objective)

(The varRecord is another table with the department information)

It shows shows Objective 1 and Objective 2.

I cant seem to get the second dropdown to display the Distinctive Objectivegroup based on drp1.

I tried

Filter(List1,ObjectiveGroup = Drp1.Selected.Result)

But no luck.

 

Any help please.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    156,277 Most Valuable Professional on at

    Hi @caslasgee ,

    Firstly, the output of Distinct is now .Value, not .Result, however you are also comparing the ObjectiveGroup, not the Objective field, so for a start, a record match would be

    Filter(
     List1,
     Objective = Drp1.Selected.Value
    )

    If you want the Distinct values of ObjectiveGroup

    Distinct(
     Filter(
     List1,
     Objective = Drp1.Selected.Value
     ),
     ObjectiveGroup
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

  • caslasgee Profile Picture
    223 on at

    Thank you @WarrenBelz . It worked just fine.

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
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard