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

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,505 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard