Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Max value in column

(0) ShareShare
ReportReport
Posted on by 118

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
    CrisLop 2 on at
    Re: Max value in column

    Great solution

  • Verified answer
    mdevaney Profile Picture
    mdevaney 29,987 on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard