Deep Cloning and Dashboard Filters

We are currently using https://github.com/vvaezian/metabase_api_python deep cloning process for being able to copy an existing dashboard with filters to a new dashboard with the same filters. Once this is complete, we change the underlying data source to a new data source using some custom Postgres SQL. What we are finding is that when we look in the database report_dashboardcard.parameter_mappings Has duplicates value in the parameter mappings column for the same filter across different dashboards and different collections. I just wondered if anybody had any idea if this is going to cause a problem and if we need to go through unpublished the report for embedding, Delete the filters and then republish the report to make it so that it has a new parameter_id for the new filters. Thanks!

1 Like