MAX
Stay organized with collections
Save and categorize content based on your preferences.
Returns the maximum value from an expression.
Sample usage
MAX(Users per day)
Syntax
MAX( X )
Parameters
X - a numeric, date, or text field or expression.
Notes
X cannot be an aggregated field or the result of an aggregation function.
Examples
| Example formula |
Input |
Output |
MAX(Users per day) |
|
100 |
MAX(End date) |
- 2022-02-10
- 2021-12-31
- 2022-02-09
|
2022-02-10 |
MAX(Name) |
|
Yuri |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-29 UTC.
[null,null,["Last updated 2026-07-29 UTC."],[],[]]