cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kathiresans
Frequent Visitor

Show Distinct Items in Drop down From SQL table

I have some items in the SQL table and I want to show the distinct items of a column in Dropdown. Whenever I try to show the distinct items of a column, some of the items are missing in the dropdown list. So, Every time it leads me to create a collection in the PowerApps with distinct items. For a small number of items, this approach is okay. But I could not create a collection for a large number of items (more than 100). 

 

So, could you please guide me on how to get (approaches) the distinct items of SQL fields directly into dropdown? 

Is there any limit on drop list items count?

1 ACCEPTED SOLUTION

Accepted Solutions

I understand dropdown has a limit of about 500 items. But combobox does not have a limit.

I prefer combobox because of the capacity to search for an item inside the combobox itself.

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Insert a dropdown or Combobox then on the item property put:
Distinct(TableName,ColumnName)
This should work but also ensure there are no spaces in the rows I'm the table.

Okay. 

 

Is there any limit on drop list items count?. What is the maximum length of the list?

I understand dropdown has a limit of about 500 items. But combobox does not have a limit.

I prefer combobox because of the capacity to search for an item inside the combobox itself.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,389)