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 / Date (in Gallery) form...
Power Apps
Answered

Date (in Gallery) format in Power App

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hye guys, Im little confuse and need your help. So, I new in Coding also PowerApp, sometimes I explore myself, sometimes I also blank cannot thinking cause im not in programming background. Maybe this problem will easy to you guys..

 

So I have 2 problems to solve

 

Problem 1:

In my app gallery, I need to use date but in format "dd/mm/yyyy". I'm using Label to show the date and use this code in text property by this code = ThisItem.'Req-Date'

This code fine for me but it display "mm/dd/yyyy". How can I change to "dd/mm/yyyy"?

 

ThisItem.'Req-Date'

 

Problem 2:

My code perfectly working with my gallery, but when I'm using sort function in my gallery.. it sort using Title. So how can I sort based on date (format: dd/mm/yyyy)?

Note: For search function, I thinks its ok just for user search by Title, for sort function, I need this app sort based on date.

 

SortByColumns(
 Filter(
 [@'Requestor Details'],
 //(varUserEmail.Mail in 'OE-AssignTo'.Email),
 
 StartsWith(
 Title,
 TextSearchBox1_2.Text
 ),
		
		StatusDropdown1_2.Selected.Result ="All" Or 'OE-Status'.Value = StatusDropdown1_2.Selected.Result
 ),
 "Title",
 If(
 SortDescending1,
 Descending,
 Ascending
 )
)

 

Hope you guys help me. Thanks!

 

Categories:
  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @Anonymous ,

    1. Use Text(ThisItem.’Req-date’,”dd/mm/yyyy”)

    2. I suppose that you want to sort based on date value, no matter the date format. So use that column name as sort column instead of title.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    First one works absolutely perfectly. Second, I just use ID to sort latest submission. thank you so much @gabibalaban 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard