Save As analysis from dashboard Quicksight

Hi,

I wanted to have a functionality on the embedded dashboard in my website where on a button click I can create an analysis out of the dashboard by providing parameters such as dashboardId and dashboard name. Do we have such API exposed. If Not, what is a possible way of doing this

1 Like

Hi @Lawanya,

I would say there is nothing out of the box.
But with some API calls you could build something.

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/describe_dashboard.html
Will give you the “SourceEntityArn” / source analysis and therefore the analysis id.

With the analysis id you can use the analysis itself or copy it.
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight/client/create_analysis.html

For sure you need the right permissions. :wink:

BG

Hi @Lawanya

Did @ErikG 's solution work for you? I am marking the reply as “Solution,” but let us know if this is not resolved. Thanks for posting your questions on the QuickSight CommunityQ&A Forum!