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:
I have the same question (0)
  • 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 493 Most Valuable Professional

#2
11manish Profile Picture

11manish 479

#3
Haque Profile Picture

Haque 328

Last 30 days Overall leaderboard