Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Re: Sort not behaving as expected

Same behavior for SortbyColumns, it works perfectly for Lists but not for Excel tables.


Is this normal? or should we do anything differently depending on the data origin?

Super User
Super User

Re: Sort not behaving as expected

It sounds like it must be a limitation of Excel. I mainly use SQL, so I don't have much experience with using Excel in PowerApps. Pulling the data into a collection for lists/reference tables would be a good solution. Something like


ClearCollect(TaulaModelsCollection, TaulaModels)

which will collect the data into a collection. Then, you would use TaulaModelsCollection as the source for the drop down or combo box.


This has the same 500 item limit as everything else, so you may have to get creative depending on how large your list is. For instance, if you have 1500 items, you would do the initial ClearCollect and then write Collect code that filters out the first 500 items and collects the next 500, then another Collect code that filters out the first 1000 items and collects the final 500.

Helpful resources


PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 525 members 5,457 guests
Please welcome our newest community members: