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
Impactful Individual
Impactful Individual

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

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 (4,092)