web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Change the SortOrder o...
Power Apps
Unanswered

Change the SortOrder on a Colum in a Table (Canvas App)

(1) ShareShare
ReportReport
Posted on by 68

Hello, 
I need help with something very perticular for me, since i'm very new to making Power Apps.
I have a Canvas app and in the Canvas app is a Table with different colums. It has nothing to do with a Gallery. The task that was given to me was, that if you click on one of those colums, that the SortOrder is Changing to Ascending or Descending and maybe if its even possible back to the default. 

Since im very new to creating Canvas apps, i searched my answer in the web but nothing helped in a way that it works. 

I hope someone could help me and Thanks in advance.

Categories:
  • Shuski Profile Picture
    35 on at

    This video goes over a lot of information about sorting columns.

     

    (71) Power Apps Sort and Filter on Multiple Columns - YouTube

  • TheFabonator Profile Picture
    68 on at

    It definetly helps thx but for some reason the syntax used in this video will not work in my Power App. Also all the Comma's he can use, will be marked red. Only when im using ; as a seperator it will work normal. 

     

     

    Sort(
     Projects;
     Projectnumber;
     SortOrder.Descending
     )
    Filter(
     Projects;
     StartsWith(
     Projectnumber;
     SearchProject.Text
     ) || StartsWith(
     Designation;
     SearchProject.Text
     )
     )

     

     

     

    I want to combine those two together. 

    If i Want to do this like in the Video 

     

     

    SortByColumns(
     Filter(
     Projects;
     StartsWith(
     Projectnumber;
     SearchProject.Text
     ) || StartsWith(
     Designation;
     SearchProject.Text
     )
     );
     Projectnumber;
     SortOrder.Descending
    )

     

     

    Like its in the Video it would say that Invalid Arguments and i dont know why it would say that.

    The Things thats special about this is that i dont use a Gallery but instead a Datatable with multiple Datasources. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard