Is there somewhere we can change the default ordering of the data cards that appear in the app when created from an Excel table? For some reason PowerApps is ignoring the column layout in my table and importing the items in alphabetical order.
Also, when trying to add fields to the app they also display in alphabetical order. Any possible settings change here? There are 372 columns in my spreadsheet and having to scroll to find the ones I need to add a couple at a time is very onerous.
Thanks,
Dustin
No, there is no adjusting the default sort order for columns in an excel data source.
I would suggest adding the fields using the search box for the Add Field control:
---
Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."
Thanks for the reply. That makes sense for the fields when added.
What about the order that PowerApps grabs the columns and creates fields? Why would it change the order from what appears in the table to show them in alphabetical order?
Hi @dwrm ,
I'm afraid that powerapps display data from excel in alphabetical order by default.
It will display in this order automatically.
And there's not setting to cancel this kind of sort.
I suggest you two ways:
1)add a column that records that right order that you want
Then sort this table based on this column in PowerApps.
Try this formula:
SortByColumns(table,"columname",ortOrder.Descending/SortOrder.Ascending )
2)If your table has been sorted based on some kind of rule, you could not add another column, just sort based on this rule in PowerApps.
Try this formula:
Sort(table,formula/rule,ortOrder.Descending/SortOrder.Ascending )
Here's a doc about these two functions for your reference:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-sort
Best regards,
Thank you for the help.
So where should I be placing the sort by columns function? It does not seem to be working for me...
User | Count |
---|---|
258 | |
111 | |
95 | |
48 | |
41 |