cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dwrm
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
SeanHenderson
Power Participant
Power Participant

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

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,

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.

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

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,869)