Import/Export App Does Not Update Dashboard Items Correctly


We are using the Import/Export app to update dashboards in dhis2 v2.33.5.

We noticed that when importing dashboard metadata, the dashboard items are updated with the additional data elements/indicators, but the data elements/indicators meant to be removed are not.

For example, the pivot table we are updating begins with indicators A, B and C. The dashboard metadata should update this table to display indicators A, B and X. However, after importing the dashboard metadata, this pivot table displays indicators A, B, C, and X.

In the Import/Export app we used the ‘Import Strategy’ ‘New and Update.’

Has anyone had this experience before? Is this expected behavior?

Lauren Fregosi

Hello, @Gassim do you have any insight on this? We are still facing this issue as we update multiple dashboards at one time using metadata. Thanks!

1 Like

Hi @lnfregos and welcome back to the community! :+1::+1:

This is an interesting case! Would you like to export the Dashboard metadata and export the Visualization metadata? I suggest to import the Visualization metadata after importing the Dashboard metadata. This could fix the issue?


When importing a metadata with the Import/Export App you can choose to overwrite all the configuration by selecting “Replace” in the Merge Mode

1 Like

Thanks @diallotafsir52! :+1:

@lnfregos please try Mamadou’s suggestion first! :+1::+1: