How can I copy Quicksight Analysis from one region to another

I have an Analysis in Quicksight in Europe and I want to copy this Analysis to Tokyo. Is it possible? How?

Hi @Noorali,

Thank you for psoting.

Are you trying to copy the analysis within the same AWS account to another region or copy to another AWS account in another region?

Regards,
Demola

I want to copy to same AWS account

Thank you for clarifying.

You can either recreate the analyses in the new region or use the CLI as described in the documentation here

Hello Noorali,

I hope you are doing well. I find the below answer in another post. Please see if it works for you, if it doesn’t work I will try to find another one.

You can also follow this links:

  1. Migrate Amazon QuickSight across AWS accounts | AWS Big Data Blog
  2. New Amazon QuickSight API Capabilities to Accelerate Your BI Transformation | AWS News Blog

Other possibilities are:

  1. Export the analysis from the source region: Use the “get-dashboard” command to export the analysis JSON file from the source region:

aws quicksight describe-analysis --aws-account-id <source_account_id> --analysis-id <source_analysis_id> --region <source_region> --output json > analysis.json

  1. Open the analysis.json file and replace all occurrences of the source dataset name and column names with the target dataset name and column names. Import the modified analysis to the target region.
  2. Use the create-analysis command to import the modified analysis to the target region:

aws quicksight create-analysis --aws-account-id <target_account_id> --analysis-id <target_analysis_id> --name “New Analysis” --source-entity=file://analysis.json --region <target_region>

Hopefully, It should work!