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 Apps
Answered

Sort Descending

(0) ShareShare
ReportReport
Posted on by 240

Hello,

Hope everyone is well,

Please could I have some advice on how to sort my date column within my gallery, I would like this to be Descending.

 

I currently have the property text input as:

Text input of Month as: Text(ThisItem.'Month found',DateTimeFormat.ShortDate)

 

Item Property of Gallery as: If(IsBlank(TextInput7.Text),Payroll,Filter(Payroll,(TextInput7.Text in 'Ignore if mass issue -->') || (TextInput7.Text in 'Ignore if mass issue -->2') || (TextInput7.Text in 'SAP or Workday') || (TextInput7.Text in 'Closest main cause (list can be refined - add to notes)') || (TextInput7.Text in 'Correct but unclear = where pay was correct but not understood and you see an improvement opportunity. ') || (TextInput7.Text in 'If we might need to discuss the prevention idea') || (TextInput7.Text in 'If we might need to discuss the prevention idea3') || TextInput7.Text in 'If large numbers impacted enter on one line and add volume here'))

 

Many thanks and Happy Christmas !

Chris

Categories:
I have the same question (0)
  • Verified answer
    BCBuizer Profile Picture
    22,577 Super User 2026 Season 1 on at

    Hi @Appy1 ,

     

    I'm assuming you want to sort by 'Month found'?

     

    If so, try:

    Sort(
    	If(
    		IsBlank(TextInput7.Text),
    		Payroll,
    		Filter(
    			Payroll,
    			(TextInput7.Text in 'Ignore if mass issue -->') || 
    			(TextInput7.Text in 'Ignore if mass issue -->2') || 
    			(TextInput7.Text in 'SAP or Workday') || 
    			(TextInput7.Text in 'Closest main cause (list can be refined - add to notes)') || 
    			(TextInput7.Text in 'Correct but unclear = where pay was correct but not understood and you see an improvement opportunity. ') || 
    			(TextInput7.Text in 'If we might need to discuss the prevention idea') || 
    			(TextInput7.Text in 'If we might need to discuss the prevention idea3') || 
    			TextInput7.Text in 'If large numbers impacted enter on one line and add volume here'
    		)
    	),
    	'Month found',
    	Descending
    )
  • CC-19121430-0 Profile Picture
    240 on at

    Thank you! that worked perfectly 🙂

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 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard