Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Syndicate_Admin
Administrator
Administrator

descending & ascending in powerapp

Hi team,

 

i have browse gallery where the staff can view the submission but its keeping the old submission on the top and the new one down. i don't what formula i should use or what a step i can do to make the list order from new to old.. can any help please!

 

in browse Gallery1 in Items i have this formula

SortByColumns(Filter('HUB2 Shift Daily Report', StartsWith('Name (Title)', TextSearchBox1.Text)), "Title", If(SortDescending1, Ascending,Descending))

 

in onSelect for the edit icon i have this formula 

EditForm(EditForm1);Navigate(EditScreen1, ScreenTransition.None)

and in visible i put this formula because they have only three days to edit

If(ThisItem.Date>=Now()-3,true,false)

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Nisrin 

If your formula, you're sorting the records by "Title" (note the reference to "Title" in your call to SortByColumns). If you want the newest records to appear at the top, you'll need to change this so that it references a date column in your data source. You'll need to specify "Descending" if you want the newest records on top.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.