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 / 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard