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

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,551 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,551 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard