I have several Analysis with various Tabs that include charts on specific topics.
I would like to create a new Analysis that includes specific Tabs from different existing Analysis.
How do I copy (duplicate) an analysis tab in to another analysis?
Currently you will not be able to copy a sheet from one analysis to another or combine analysis from multiple tabs.
We have a feature called “Assets as Code” in roadmap, that will let you do this programmatically.
You can copy the source analysis and modify as per your requirement until any work around
Hi @n_vetri ,
Looking forward to use “Asses as Code”, as it will also help us with another major issue, when we need to duplicate a Sheet and make minor changes in one of the settings.
Is there any ETA on this? can we join any beta testing group?
Thank you very much for your quick reply!
Hi @Naveed ,
Yes. this is what we currently do.
Thank you for your suggestion.
Is there an eta for “As Code” solution? Would love to beta test this. We orchestrate all our infra using AWS CDK. Would be great to be able to define “as code” in CDK and update the analysis and dashboards.
Hope the ‘As Code’ solution is still on the roadmap and look forward to it being released.
@n_vetri - any news on this front?
Following two APIs will give the complete json representation of a dashboard or analysis.
You can create a new analysis that combines specific sheet from other analyses using these APIs
Those APIs only give us information about our analysis. Is that correct?
How can I create a new analysis with sheets from other analyses? Could you describe the steps?
I am sorry if this is a very basic question, but I am new to this and I am really trying to learn.
Thank you in advance
Thank you for your question. You will execute these APIs to get the json details for each sheet in each dashboard. Then you can combine these JSON objects into valid QuickSight dashboard definitoin and use it in create-dashboard or update-dashboard API call as input.
Iv’e tried follow the guides to describe_analysis and use this output in update_analysis using jupyter notebook + boto3 library
It seems that the describe analysis definition, which should return the desired json file with the analysis sheets described properly isn’t working with boto3 (error: ‘QuickSight’ object has no attribute ‘describe_analysis_definition’)
Is there’s any common mistake regarding using this command?
If not, is there’s a workaround to extract that info using another command/library?
Can you please confirm if you have updated your boto3 to the latest version?
I’m using version 1.26.3, and the documentation I’m referring to is suitable for version 1.26.132 (and higher, I assume).
Should I do anything in that field?
#keep boto3 updated with the latest version
#!pip install --upgrade pip
#!pip install --upgrade boto3
print('Boto3 version is : ',boto3.__version__)
Thanks, it looks like the boto3 version is solved and now I can call describe_analysis_definition() perfectly fine.
However, I do have another problem following @n_vetri instructions above.
He said I can use this function to retrieve all the necessary parameters for the task.
I believe it can be done using update_analysis() however some parameters in this function are missing even when using describe_analysis_definition()
I can’t seem to find the Parameters & SourceEntity values needed for update_analysis() function
- is this the correct function for the task?
- if so, where can I find those parameters?
@Koushik_Muthanna I can assume this actions aren’t available on boto3, right?
I am curious did you mange to merge analysis using API ?