--- title: "MAXIMUMFILTERED()" slug: "maximumfiltered" updated: 2025-10-14T16:28:29Z published: 2025-11-19T15:54:21Z canonical: "support.tulip.co/maximumfiltered" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # MAXIMUMFILTERED() ## Description Returns the maximum of its argument, filtered to completions matching the given condition ## Available In - **Analysis** ## Syntax MAXIMUMFILTERED(n: Integer or Number, condition: Boolean) ## Example MAXIMUMFILTERED(@Hour of Day, 100 > 20) = 19