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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard