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

Default ordering when creating an app from an Excel table?

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

5 REPLIES 5
Highlighted
Super User
Super User

Re: Default ordering when creating an app from an Excel table?

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:

Annotation 2019-12-16 160002.png

 

---
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."

Highlighted
Frequent Visitor

Re: Default ordering when creating an app from an Excel table?

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?

 

Highlighted
Community Support
Community Support

Re: Default ordering when creating an app from an Excel table?

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,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Frequent Visitor

Re: Default ordering when creating an app from an Excel table?

Thank you for the help.

Highlighted
Frequent Visitor

Re: Default ordering when creating an app from an Excel table?

So where should I be placing the sort by columns function?  It does not seem to be working for me...

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,054)