Set data source for dashboard

I have multiple MySQL data sources and I’d like to make dashboards for each of them. Is there a way to set the data source for each of the dashboards. I know there is the option to set a specific source directly in the panel, but is it possible to impose the source for the whole dashboard?

You can define a variable of type datasource… set the panels to use that datasource. For example, define “mydatasource”, and in the panel, make the datasource $mydatasource in the panels.