Requires the
dashboard-controls feature flag. For Cloud, contact support. For self-hosted instances, add dashboard-controls to LIGHTDASH_ENABLE_FEATURE_FLAGS.- Two Order revenue tiles compare the same chart in different currencies.
- A Payment revenue tile uses a currency parameter from another model.
- An Order status filter limits the comparison to completed orders.
USD, EUR, and GBP.
Set different values on two copies of a chart
Give each copy its own control to compareUSD and EUR side by side.
1
Add the first control
Open Edit dashboard → Add → Parameter and choose Reporting currency. Set USD and use Rename to name it Primary currency. Both order tiles now use USD.



2
Choose its tiles
Click Choose tiles. On the comparison Order revenue tile, clear the selected parameter, then click Apply. That tile stops using Primary currency.



3
Add the comparison control
Add another Reporting currency control, set EUR, and name it Comparison currency. In Choose tiles, click Set this tile on the comparison tile, then select Orders Reporting currency. Click Apply → Save changes.



Clear a value or exclude a tile
A control’s value and tile assignments are independent. In edit mode, open the control:- To clear its value, click the input’s clear button. Tile assignments stay in place. The control then shows the parameter’s default, or is not set if there’s no default. If a tile can’t run without a value, it shows needs a value instead.
- To exclude a tile, open Choose tiles and clear that tile’s selected parameter. Clear all tiles excludes all current tiles.
EUR, and its parameter has a GBP model default. These give different results:


- Cleared value
- Excluded tile
After clearing Primary currency, the first order tile uses the model default, 

GBP.

USD and include the first order tile.
Set parameters across models
Use Primary currency to change the order and payment charts together, even though their parameters belong to different models. Parameters can share a control when their type, single or multiple selection, and allowed values match.1
Choose the payment parameter
Open Primary currency → Choose tiles. On Payment revenue, click Set this tile and select Payments Settlement currency.
2
Save the assignment
Click Apply → Save changes. Primary currency now sets both models’ parameters. Comparison currency still sets only the second order tile.


Group controls and hide a control from viewers
Keep related inputs together, and hide the fixed comparison value from viewers.1
Group the controls
Create a section called Currency comparison and move Order status into it. For each parameter control, open Settings → Section, choose Currency comparison, and click Apply.
2
Hide the comparison input
In Comparison currency → Settings, turn off Show to viewers. Click Apply → Save changes. Its 

EUR value still applies to the comparison tile. In edit mode, the control shows an eye-off icon.



Save the dashboard as code
Parameter controls, their tile assignments and sections are saved in the dashboard file. Use the standard download and upload commands. Withdashboard-controls enabled, downloads use these references:
- A section’s
slugidentifies it. A filter or control’ssectionSlugplaces it in that section. - Each
tileSlugidentifies one tile, so copies of the same chart can receive different values.
config.parameterControls. Each control has a label, a value, and a parameters list that says which parameters it sets, and on which tiles.
Set a parameter on every tile
Useall to set the parameter on every tile that uses it, including tiles added later.
Exclude tiles or pick exact tiles
Useexcept to leave out some tiles, or only to list the exact tiles. Name tiles by their tileSlug.
all or except. Other controls for that parameter use only, each with different tiles.
Set parameters from different models
One control can set parameters from different models if they take the same type of value and have the same options.Hide a control or put it in a section
hidden: true hides the control from viewers, but its value still applies. sectionSlug puts it in a section.
Full example
This file saves the Revenue comparison dashboard from the steps above, including its filter, section, and control assignments. Save it aslightdash/dashboards/revenue-comparison.yml, adapting the chart and space slugs, parameter keys, and filter field references to your project.
Revenue comparison

