Skip to main content
How many valid observations the matching trailing_median() actually saw. Ship it beside every trailing_median in a model that feeds the ML contract: it is what makes that median’s NULLs and its early-window instability visible to a consumer instead of silent.

Signature

Returns

scalar expression composable in a SELECT list.