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 / How to obtain Max valu...
Power Apps
Answered

How to obtain Max value/Max()from a share point list column without error

(0) ShareShare
ReportReport
Posted on by 2

I am using the below as default of a textinput box

"Data of Date : " & Text(Max(KomtraxImport,F11),"dd-mm-yyyy")

 

Its bring the correct result (it bring the max date of that column), but has a error on it, below is the image

 

MIA27_0-1679125197270.png

 

Worried as the current number of records is 2356 and may grow little in the near future.

 

Kindly advise, is there any other way to obtain the same result without error

 

 

 

Categories:
I have the same question (0)
  • ganeshsanap Profile Picture
    1,555 on at

    @MIA27 Try using formula in this format: 

     

    "Data of Date : " & Text(First(SortByColumns(SharePointListName, DateColumnName, SortOrder.Descending)).DateColumnName,"dd-mm-yyyy")

     


    Please click Accept as solution & 👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

    For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs

  • MIA27 Profile Picture
    2 on at

    sorry, it produces error of column name, below is the error. pls guide

     

    MIA27_0-1679131328311.png

     

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @MIA27

    Use double quotes around "F11" when using SortByColumns(). Not needed for a simple Sort(). 

  • MIA27 Profile Picture
    2 on at

    Sir,

     

    Could not understand the part of your reply "Not needed for a simple Sort(). "

    please guide.

     

     

  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    You only need double quotes on the field if you use SortByColumns() 

  • Verified answer
    ganeshsanap Profile Picture
    1,555 on at

    @MIA27 Use formula like below (with "DateColumnName" - double quotes around column name inside SortByColumns function only): 

     

    "Data of Date : " & Text(First(SortByColumns(SharePointListName, "DateColumnName", SortOrder.Descending)).DateColumnName,"dd-mm-yyyy")

     


    Please click Accept as solution & 👍 if my answer helped you to solve your issue. This will help others to find the correct solution easily. If the answer was useful in other ways, please consider giving it ‌‌👍

    For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs

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

#2
Haque Profile Picture

Haque 308

#3
Kalathiya Profile Picture

Kalathiya 234 Super User 2026 Season 1

Last 30 days Overall leaderboard