docs-mintlify/recipes/index.mdx
Explore 39 recipes across data modeling, calculations, analytics patterns, pre-aggregations, configuration, APIs, and AI.
Most recipes model a metric with a fixed shape — a set interval, a set window. These recipes instead let the data consumer choose part of the calculation at query time, so one set of members serves many variations without a data-model change. To generate a family of members at model-build time instead (the consumer then picks by choosing which member to query), see Dynamic data models.
<CardGroup cols={3}> <Card title="Configurable rolling windows" icon="adjustments-alt" href="/recipes/data-modeling/dynamic-rolling-windows"> Let consumers choose a measure's rolling-window and time-shift interval at query time, dispatching with a switch dimension. </Card> <Card title="Dynamic parameters" icon="adjustments-horizontal" href="/recipes/data-modeling/passing-dynamic-parameters-in-a-query"> Let consumers supply a filter value at query time and use it in a calculation without filtering the entire query. </Card> </CardGroup>