anfra docs
Semantic catalogSearch

AML

The AML types you can search for, with an example of each

Your project's own models, datasets and dashboards. They are always in the catalog.

See Search for the query syntax. Properties listed as Exact match the whole value only.

model

A data model.

anfra search 'type:model model_type:query'

Finds the models built from a SQL query. model_type is table or query.

Properties: fqn, name, label, description, owner, data_source_name, table_name, file_path. Exact: model_type

table

The warehouse table behind a table model.

anfra search 'type:table data_source_name:warehouse orders'

Finds the tables in the warehouse data source that match "orders".

Properties: data_source_name, table_name, name

dataset

A dataset.

anfra search 'type:dataset owner:jane'

Finds the datasets whose owner contains "jane", such as "Jane Doe".

Properties: fqn, name, label, description, owner, data_source_name, file_path

metric

A metric defined in a dataset.

anfra search 'type:metric dataset_name:ecommerce revenue'

Finds the metrics of the ecommerce dataset that match "revenue" in their name, label, description or definition. dataset_name is exact, so give the full name.

Properties: fqn, name, label, description, definition, data_type. Exact: dataset_name, hidden

dimension

A dimension of a model or dataset.

anfra search 'type:dimension data_type:date created'

Finds the date dimensions that match "created". data_type:date matches part of the value, so it finds datetime dimensions too.

Properties: fqn, name, label, description, data_type, definition. Exact: hidden, parent_fqn, parent_kind

measure

A measure of a model or dataset.

anfra search 'type:measure aggregation_type:count_distinct'

Finds the measures that count distinct values.

Properties: fqn, name, label, description, data_type, definition. Exact: hidden, parent_fqn, parent_kind, aggregation_type

param

A parameter of a model or dataset.

anfra search 'type:param parent_kind:dataset'

Finds the parameters defined on a dataset, not on a model. parent_kind is model or dataset.

Properties: fqn, name, label, description, data_type, definition. Exact: hidden, parent_fqn, parent_kind

tag

A tag.

anfra search 'type:dataset depends_on[depth=1]:(type:tag name:finance)'

Finds the datasets tagged finance, on the dataset itself or on one of its fields.

Properties: fqn, name, description, color, file_path

dashboard

A dashboard.

anfra search 'type:dashboard depends_on:(type:metric name:revenue)'

Finds the dashboards with a visualization that uses a revenue metric.

Properties: fqn, name, title, description, owner, file_path

vizblock

A visualization on a dashboard.

anfra search 'type:vizblock dashboard_fqn:sales_overview'

Finds the visualizations on the sales_overview dashboard.

Properties: uname, label, description, viz_type. Exact: dashboard_fqn

filterblock

A filter on a dashboard.

anfra search 'type:filterblock depends_on:(type:dataset name:ecommerce)'

Finds the dashboard filters on fields of the ecommerce dataset.

Properties: uname, label, description. Exact: dashboard_fqn, filter_type

datedrillblock

A date drill on a dashboard.

anfra search 'type:datedrillblock default:month'

Finds the date drills that default to month.

Properties: uname, label, description, default. Exact: dashboard_fqn, hide_label, hide_controls

calculation

A calculation in a visualization.

anfra search 'type:calculation definition:running_total'

Finds the calculations whose definition uses running_total.

Properties: uname, label, data_type, definition. Exact: dashboard_fqn, viz_uname, calc_type

preaggregate

A pre-aggregate of a dataset.

anfra search 'type:preaggregate dimension_count>=5'

Finds the pre-aggregates with at least 5 dimensions.

Properties: fqn, dataset_fqn, name, persistence_type. Number: dimension_count, measure_count

permission

A row-level permission rule of a dataset.

anfra search 'type:permission field_name:region'

Finds the row-level permission rules on a region field.

Properties: fqn, dataset_fqn, name, operator, value_json, field_model, field_name

On this page