filtering

Solid

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.

Data & Documents 39 stars 1 forks Updated 2 days ago Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## 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 `get_data_from_fields` / `get_sql_from_fields` | 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 ```sql entity.field = 'value' entity.field > 100 entity.field >= 3 AND entity.field < 10 ``` Operators: `=`, `<`, `>`, `>=`, `<=`, `!=` You can compare an attribute to a constant or to another attribute. Cast mismatching types when comparing (e.g., `entity.field::DATE`). ### Strings ```sql entity.field = 'exact value' entity.field IN ('val1', 'val2', 'val3') entity.field ILIKE '%keyword%' ``` - `ILIKE` is case-insensitive pattern matching (`%` = any characters, `_` = one character) ### Full-Text Search (Snowflake only) Use `SEARCH` when you don't know exact values and need to find possible matches. ```sql -- Single sear...

Details

Author
honeydew-ai
Repository
honeydew-ai/honeydew-ai-coding-agents-plugins
Created
5 months ago
Last Updated
2 days ago
Language
Shell
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

Data & Documents Solid

query

Use when the user wants to query or analyze data through the Honeydew semantic layer — including natural language analysis questions, deep multi-step investigations, and structured queries. For model/field discovery use the model-exploration skill.

39 Updated 2 days ago
honeydew-ai
Data & Documents Listed

bigquery-features

Use when asking about BigQuery-specific features, syntax, or capabilities including: STRUCT/ARRAY/UNNEST patterns, MERGE statements, BigQuery scripting (DECLARE, IF, LOOP, BEGIN/END), scheduled queries, remote functions, JSON functions, approximate aggregation (APPROX_COUNT_DISTINCT, HLL_COUNT), geography/GIS functions, BigQuery ML (CREATE MODEL), search indexes, vector search, or BI Engine. Triggers on: "UNNEST", "STRUCT", "ARRAY", "MERGE", "DECLARE", "scripting", "scheduled query", "remote function", "JSON_EXTRACT", "APPROX_COUNT", "HLL", "ST_", "CREATE MODEL", "BQML", "search index", "vector search", "BI Engine".

1 Updated yesterday
Ocean1346
Data & Documents Listed

pbir-filters

Use when authoring filter bodies in a Power BI PBIR report at report.json, page.json, or visual.json filterConfig.filters. Covers scopes (Report, Page, Visual — visual filter is sibling of `visual` NOT nested), filter types (Categorical, Advanced, TopN, VisualTopN, RelativeDate, RelativeTime, Tuple), filter body shape (Version 2, From[] aliases, Where[] using SourceRef.Source NEVER Entity), Categorical In / inverted Not-In with isInvertedSelectionMode, empty-default forms, Advanced Comparison with ComparisonKind 0-4, Between inclusive ranges, RelativeDate DateSpan/DateAdd with TimeUnit codes, TopN VisualTopN, And/Or/Not, doubled single quotes for strings, integer L / double D / datetime literal suffixes, hide/lock/single-select, filter-pane visible+expanded at report level (styling lives in theme). Invoke when user adds a filter, fixes a silently-ignored filter, builds a rolling-date window, or toggles filter-pane visibility.

2 Updated today
wardawgmalvicious