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 Platform Community / Forums / Power Apps / Group by min date (loo...
Power Apps
Answered

Group by min date (looking at sp date column)

(0) ShareShare
ReportReport
Posted on by 678

I have a SPO List that contains a date field. The format is mm/dd/yyyy - it displays as a date, power apps seems to recognize it as a date Note: this is a date column in SPO and not a date/time column. I then want to do a group by...to get the minimum date by email address...The date field is called Occ In Date.

ClearCollect(HotelSummary,AddColumns(GroupBy(Hotels,"Email","GroupedItems"),"MinCheckIn",Min(GroupedItems,'Occ In Date'))
);

The response I get for the "min" value is 1620100800000 when the date field was 5/6/2021. 
This could be milliseconds or something??? 
How can I get that min calculation to appear as a recognizable date?




 

 

 

Categories:
I have the same question (0)
  • Verified answer
    sasrsc Profile Picture
    678 on at

    Text(ThisItem.a,"[$-en-US]mm/dd/yyyy")

    That displays it in the correct format... as 5/4/21.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard