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 / Distinct Dropdown Results
Power Apps
Unanswered

Distinct Dropdown Results

(0) ShareShare
ReportReport
Posted on by 5,325 Super User 2025 Season 2
I have Dropodown_1 (Job Type) and Dropdown_2 (Location).

Dropdown_1 has in its items - ["Drop","Install","Storm Work","Trip"]
 
A Location may appear multiple times in the data source (SP List).
I only want each Location to appear in Dropdown_2 once (Distinct).

How do I update the below formula so that the dropdown only shows
each Location once?

Dropdown_2 has in its items -
If(
   JPU_Job_Type_Dropdown.Selected.Value =  "Drop",
   Filter(colPendingDropData,colPending_Invoice_Type = "Drop",colPending_Location),
 
   JPU_Job_Type_Dropdown.Selected.Value =  "Install",
   Filter(colPendingInstallData,colPending_Invoice_Type = "Install",colPending_Location),
   
   JPU_Job_Type_Dropdown.Selected.Value =  "Storm Work",
   Filter(colPendingStormWorkData,colPending_Invoice_Type = "Storm Work",colPending_Location),
   
   JPU_Job_Type_Dropdown.Selected.Value =  "Trip",
   Filter(colPendingTripProjectData,colPending_Invoice_Type = "Trip",colPending_Location))
Categories:
I have the same question (0)
  • Suggested answer
    Phineas Profile Picture
    5,325 Super User 2025 Season 2 on at
    I figured it out.
     
       If(
       JPU_Job_Type_Dropdown.Selected.Value =  "Drop",
       Sort(Distinct(Filter(colPendingDropData,colPending_Invoice_Type = "Drop"),colPending_Location),SortOrder.Ascending))
  • Verified answer
    WarrenBelz Profile Picture
    153,012 Most Valuable Professional on at
     
    I would have thought it would it would be something like this
    Sort(
       Distinct(
          Filter(
             colPendingDropData,
             colPending_Invoice_Type = JPU_Job_Type_Dropdown.Selected.Value
          ),
          colPending_Location
       ),
       Value
    )
     

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 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard