lightdash.config.yml
file and can be referenced in various parts of your Lightdash project.
region
parameter that users can set to filter data by different geographic regions, or a date_range
parameter that allows users to select different time periods for analysis.
region
:
region
from the orders
model:
ld
instead of lightdash
:
lightdash.config.yml
file and are available across your entire project. Here’s an example:
meta.parameters
section of your model configuration:
filtered_revenue
dimension will only show revenue for the regions selected in the region
parameter.
region
parameter.
You can also reference model-level parameters from joined tables:
customer_status
defined in the customers
model. This allows you to dynamically filter the joined data based on parameters specific to the joined table.
date_range
parameter.
date_range
parameter.
filtered_customer_revenue
dimension uses a model-level parameter target_segment
from the joined customers
model to conditionally show revenue.
region
parameter and by the date selected in the date_range
parameter.
options_from_dimension
to dynamically populate options