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 / Dropdown function retu...
Power Apps
Unanswered

Dropdown function returning the wrong column

(0) ShareShare
ReportReport
Posted on by 67

I am trying to create this simple dropdown that will display the citys in which the company has clients in. I used a SortByColumns function and specified what I want to display with "i9_name" but it keeps returning the "createdby_type" column with a bunch of "systemuser". What exactly am I doing wrong here?

 

i9_name.PNG

 

Categories:
I have the same question (0)
  • Bilakanti Profile Picture
    1,226 on at

    @vinidegrandi - Please check the display fields property and add the column that you need to be shown.

  • vinidegrandi Profile Picture
    67 on at

    @Bilakanti you mean the DisplayMode property? What exactly am I supposed to write in it?

  • vinidegrandi Profile Picture
    67 on at

    Oh, nevermind. I understand what you meant now. The issue now is its telling me it reached the limit of items it can display.

  • Bilakanti Profile Picture
    1,226 on at
     

    Bilakanti_0-1674571824504.png

    @vinidegrandi - In my case i added a combobox and by default it came with"bk_employeeid" column as part of displayfields, and I want to show "bk_employeeaddress" column to be shown in the dropdown, so I just added"bk_employeeaddress" column in the first item and it worked like a charm. Hope that should resolve your issue.

     
     
     

     

  • vinidegrandi Profile Picture
    67 on at

    Yes, I realized I had a regular dropbox and not a ComboBox. It did "work" but it is basically showing me every city ever instead of the ones on the table.

  • Bilakanti Profile Picture
    1,226 on at

    @vinidegrandi "i9_name" is a lookup column pointing to another table? If you want unique city names then you can use Distinct function to retrieve only unique city names.

  • vinidegrandi Profile Picture
    67 on at

    It is not. Inside this column there is only a handful of cities but its returning me every city on the planet haha

  • Bilakanti Profile Picture
    1,226 on at

    @vinidegrandi  Can you please share what is your items property and what is the data in the table.

  • vinidegrandi Profile Picture
    67 on at

    My items property is the picture I've shown, and the table is right under it, but here it is in more detail:

     

    displayitem.PNG

     

    tablea.PNG

     

  • Bilakanti Profile Picture
    1,226 on at

    @vinidegrandi - As per your screenshot, I am sure it will show only the data from that table. Just to cross check, I would suggest you to count the rows in dropdown and count the rows in table whether both of them are matching or not.

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