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 / Lookup Dropdown Duplic...
Power Apps
Suggested Answer

Lookup Dropdown Duplicates: Solution Required for Power Apps Form

(2) ShareShare
ReportReport
Posted on by 9
Hi everyone,
 
I'm having trouble with duplicate values appearing in lookup dropdowns in my Power Apps form.
 
I have a main SharePoint list ("ABCD") with 10 text question columns and 3 lookup columns (Department, Country, R-Level). These lookups pull from a separate SharePoint list called "Approvers".
 
The "Approvers" list structure causes my issue. It contains multiple entries for the same country based on different Department/R-Level combinations (e.g., Department P > Country India > R-Level Red, Department P > Country India > R-Level Amber). This duplication results in redundant values within my Power Apps form's lookup dropdowns for Department, Country, and R-Level.
 
How can I configure these dropdowns to display only unique values for each field, while still ensuring the selected values correctly update the corresponding columns in my main SharePoint list? This is crucial as a Power Automate flow relies on these fields to route approvals.
 
Attached are screenshots of the "Approvers" list structure and the duplicate values displayed in the Power Apps form. Any help would be greatly appreciated!

 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,392 Super User 2025 Season 2 on at
    Hi
     
    You need to use the Distinct Function
     
    for instance Distinct(MyList, Country)
     
    Where Country is the Field/Column Name so change it as you need it.
     
    Understand though, that you could also union the list to itself, which would remove the duplicates.
     
    One thing to note, when you do this, then your Dropdowns do NOT point to a record, they point to the "string" you are doing the Distinct on, unless its a LooKup etc, in which case thats different.
     
  • CU01101712-0 Profile Picture
    9 on at
    Hello @FL Mike,
     
    This code works perflectly fine(Screenshot below),  How can i add distinct to this code? I've tried all AI Chatbots and none have given me the correct way to make this work with disctinct. 
     

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard