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 / How to use Distinct wi...
Power Apps
Answered

How to use Distinct with a dropdown

(0) ShareShare
ReportReport
Posted on by 29

Hi, currently I have a dropdown box that is linked to a gallery to display information from a table in Dataverse.

 

The dropdowns current items property is set to Schedules.'Pool Room Name'

"Schedules" being the table and "'Pool Room Name'" being the column I want to display. In the 'Pool Room Name' column I have 3 records added with the same name and all 3 are showing up in the dropdown. I've tried looking up how the dropdown works but can't seem to get it to. If anyone knows how I would do this please let me know!

Categories:
I have the same question (0)
  • Mink21 Profile Picture
    158 on at

    Hi @MChernok 

    Try this:

    Distinct(Schedules, 'Pool Room Name')

     

    I hope this helps!

  • MC-30011736-0 Profile Picture
    29 on at

    Yeah, I've tried that solution but I keep getting the error:

    "Incompatible types for comparison. These types can't be compared: Text, Error. 

    We can't evaluate your formula because the values being compared in the formula aren't the same type."

  • Mink21 Profile Picture
    158 on at

    What type of column is 'Pool Room Name'? 

  • MC-30011736-0 Profile Picture
    29 on at

    Single line of text

  • Mink21 Profile Picture
    158 on at

    Can you show me the code that gives you the error?

  • MC-30011736-0 Profile Picture
    29 on at

     I've attached a screenshot of the code giving the error below.

    Code.png
  • Verified answer
    MC-30011736-0 Profile Picture
    29 on at

    @Mink21 

    Thank you for the help but I have found a new solution to my problem. Instead of using the dropdown box, I'm now using a combo box and changed my pool name column to a choice and that got it working!

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @MChernok,

    Glad that you have resolved your problem.

    Could you please mark your own reply as an answer to help more users?

    Thanks for your cooperation.

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

#2
11manish Profile Picture

11manish 153 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 116 Super User 2026 Season 2

Last 30 days Overall leaderboard