---
name: FilterPreset
lang: cpp
domain: core
version: "1.0.0"
algebraic: sum
definition: |
  enum class FilterPreset { Last7d, Last30d, Last90d, ExcludeNulls, NonZero };
description: "Preset rapido de filter para chip row UI (fase 10). Genera 1-2 Filters via build_preset_filters(preset, col, today_ymd)."
tags: [tql, filter, preset, sum-type]
uses_types: []
file_path: "cpp/functions/core/data_table_types.h"
---

## Notas

| Preset | Filters generados |
|---|---|
| Last7/30/90d | Gte sobre col Date con (today_ymd - N) |
| ExcludeNulls | Neq sobre col, value="" |
| NonZero | Neq "" + Neq "0" (2 filters) |

UI auto-pickea col compatible (Date para Last*d, numeric para NonZero, any para ExcludeNulls).
