Create analysis failing in new account

Hi all,
Need your help with analysis migration cross account.

Analysis which is working fine in the source account is failing when we try to create the same in new account using CREATE-ANALYSIS API.

CREATE-ANALYSIS is failing because of 2 types of issues

**Type 1 **
Invalid type for parameter Definition.FilterGroups[5].Filters[0].CategoryFilter.Configuration.FilterListConfiguration.CategoryValues[0], value: None, type: <class ‘NoneType’>, valid types: <class ‘str’>

**Type 2 **
Missing required parameter in Definition.ParameterDeclarations[6].StringParameterDeclaration.DefaultValues.DynamicValue.DefaultValueColumn: “DataSetIdentifier”

Our assumption on where it could be failing is (Sample JSON snippet) below

Any suggestions on this please ?

Hi @bheemrao.walikar - In your source account can you do a describe analysis and validate this filter condition.

Hi @Max - Any expert advise on this?

Regards - Sanjeeb

1 Like

@Sanjeeb2022 @Max . Here is the further update. When we describe the analysis, throughout the analysis DataSetIdentifier is showing the deleted dataset value.

Background : to start with the Analysis development , we used 2 datasets , assume A and B.
futher A was replaced with C and B was replaced with D.

Now for migration when we are describing the analysis , JSON shows reference for A and B throughout. Is this a bug or anything needs to be explicitly refreshed on the analysis to show the new references.

Regards,
Bheemrao

Hi @bheemrao.walikar - In your dev account when you are describing the data set, you should have source data source details. You need to export it and change the data sources as per target and then create the analysis in the target account.

To investigate in details, can you raise a ticket to AWS Customer support team so that they can see this issue by screen share and understand in details. This will help you in solving the issue quickly as well. To raise the request, please follow the link - Creating dataset parameters in Amazon QuickSight - Amazon QuickSight

Hi @Max @David_Wong - please provide your expert advise on this.

Regards - Sanjeeb