Creating multiple similar panels in one go

Suppose I have a MySql database that have multiple tables and they all contain exactly the same structure and fields, but different data. Instead of creating a panel at a time for each table, is it possible to create them all in one go?

The query will be the same “SELECT val FROM table1” but the only thing that needs to be changed is the table name “table1” to “table2”, etc. for each panel.

Is it possible to do this in one go?

You could have a dashboard variable that contains the list of tables (either statically or as a query itself that obtains that list) and then you could repeat panels or rows to get a panel for each table.

See https://grafana.com/docs/reference/templating/ for more info.