# filtering

> Claude/Codex skill by [@honeydew-ai](https://omgskills.com/library/honeydew-ai/index.md) · 43 stars · Updated 2026-08-30

Use when the user needs to filter data — whether in a structured query, a metric aggregation, or an attribute expression. Covers filter syntax, date handling, and best practices.

Tags: analytics, claude-code, codex, context-layer, cursor, honeydew, semantic-layer

## Install

```sh
git clone https://github.com/honeydew-ai/honeydew-ai-coding-agents-plugins /tmp/honeydew-ai-coding-agents-plugins && ln -s /tmp/honeydew-ai-coding-agents-plugins/skills/filtering ~/.claude/skills/filtering
```

## From README

Overview Filtering restricts which rows contribute to a result. The same expression language applies across three contexts in Honeydew: | Context | Where it appears | When it runs | | ------------------------ | --------------------------------------------------------- | ------------------ | | Structured query | filters parameter in getdatafromfields / getsqlfromfields | Pre-aggregation | | Metric aggregation | FILTER (WHERE ...) on an aggregation | During aggregation | | Attribute expression | CASE WHEN ... END in attribute SQL | Per-row evaluation | | Metric value filter | Metric expression in filters parameter | Post-aggregation | --- Filter Expression Syntax Comparisons Operators: =, , \>=, 'AND'. NULL Checks Booleans Date Comparisons Combining Conditions Use AND / OR to combine conditions. Use parentheses to control precedence.

## Links

- HTML page: https://omgskills.com/library/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/filtering/
- GitHub: https://github.com/honeydew-ai/honeydew-ai-coding-agents-plugins
- Author: [@honeydew-ai](https://omgskills.com/library/honeydew-ai/index.md)

## More from this repo

- [context-item-creation](https://omgskills.com/library/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/context-item-creation/index.md) — Guides you through creating context items — instructions, skills, knowledge pointers, and memory events — that give the...
   - [@honeydew-ai](https://omgskills.com/library/honeydew-ai/index.md) · 43 stars
- [conversation-review](https://omgskills.com/library/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/conversation-review/index.md) — Used when a semantic/context layer curator wants to review past analysis conversations in bulk, categorize user...
   - [@honeydew-ai](https://omgskills.com/library/honeydew-ai/index.md) · 43 stars
- [model-exploration](https://omgskills.com/library/honeydew-ai/honeydew-ai-coding-agents-plugins/skills/model-exploration/index.md) — Used when exploring Honeydew semantic layer, discovering entities/fields, setting up workspace and branch context, or...
   - [@honeydew-ai](https://omgskills.com/library/honeydew-ai/index.md) · 43 stars
