--- title: "MAXFILTERED()" slug: "maxfiltered" updated: 2025-10-14T16:28:29Z published: 2025-11-19T15:54:21Z canonical: "support.tulip.co/maxfiltered" --- > ## 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. # MAXFILTERED() ## Description Returns the maximum of its argument, filtered to completions matching the given condition ## Available In - **Analysis** ## Syntax MAXFILTERED(n: Integer or Number, condition: Boolean) ## Example MAXFILTERED(@Hour of Day, 100 > 20) = 19