Skip to main content
Community site session details

Community site session details

Session Id : pK0ihM9n5Hn42svBR/RMnf
Power Apps - Building Power Apps
Answered

Max value in column

Like (0) ShareShare
ReportReport
Posted on 29 May 2020 13:00:27 by 130

Hello,

 

how could i found the max value in SQL table?

 

I just need know the highest ID of records.

 

Thank you

Jakub

Categories:
  • CrisLop Profile Picture
    2 on 18 May 2022 at 21:31:08
    Re: Max value in column

    Great solution

  • Verified answer
    mdevaney Profile Picture
    29,987 Moderator on 29 May 2020 at 13:02:39
    Re: Max value in column

    @Flashback 

    Like this...

     

    Max(SQL_table_name, SQL_column_name)

     

     

    I have documented functions like this in my Collections Cookbook app which is downloadable for FREE.

    https://powerusers.microsoft.com/t5/Community-App-Samples/Collections-Cookbook-50-Visual-Examples-amp-Code/td-p/437594

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete