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 / Data table using sort ...
Power Apps
Unanswered

Data table using sort in power apps

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

1)create a  data table drag on drop  on  data source on show in the table

Sujikumar_0-1677066954181.png

 

data table item create on 

SortByColumns(Search(EmployeeDetails,TextInput1.Text,"Title"),varSortPriority,If(SortDescending,Ascending,Descending))

 

2) create  a textbox filter name and enter the show in a particular name

   textbox enter name filter name show in datatables

 

Sujikumar_1-1677067126745.png

 

3)data table sort icon click  show in table ascending and descending 

app  click on start properties code:

Set(_varSortBy, "Title"); Set(SortAscending, true);

Data table title sort icon on selected property 

set onselect ->  UpdateContext({varSortPriority:"Title",SortDescending:!SortDescending}) 

DataTable 

Items 

SortByColumns(Search(EmployeeDetails,TextInput1.Text,"Title"),varSortPriority,If(SortDescending,Ascending,Descending))

 

Data table sort icon click ascending and descending display on datatable 

Sujikumar_2-1677067468440.png

sort icon click on datatables

Sujikumar_3-1677067542593.png

 

 

 

 

 

 

 

 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,774 Super User 2026 Season 1 on at

    Hi @Anonymous 

    Thanks for your post.

    Just to clarify, you're documenting how to sort a data table and there isn't a specific question that you're asking here?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ok

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard