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 / Sort gallery by a Date...
Power Apps
Answered

Sort gallery by a Date Lookup Column

(0) ShareShare
ReportReport
Posted on by 138

Hello everyone,

 

In PowerApps I have a gallery that I need to sort by a date column, but this date column is a Lookup date column, I tried to use this:

 

Sort(Filter('Student-Schedule', StartsWith(Title, Title1.Text)),"CC_x002d_Ref_x003a__x0020_Start_",Descending)

 

But it is not working!

 

Any Idea what's wrong or how can I sort a lookup date column? 🙄

 

Thank you!

Categories:
I have the same question (0)
  • Verified answer
    v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @Greg68 ,

     

    Maybe you could try the following formula: 

    Sort(Filter('Student-Schedule', StartsWith(Title, Title1.Text)),DateValue(LookupDateColumn.Value),Descending) 

    vyujincuimsft_0-1662018674249.png

    vyujincuimsft_1-1662018708267.png

     

     

    Best Regards, 
    Charlie Choi 

  • Greg68 Profile Picture
    138 on at

    Thank you

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard