Unable to delete Quicksight orphaned calculated fields

0

Hi, We have a quicksight analysis where we built quite a few Sheets with a number of visuals each however at some stage we have changed the dataset that we use for the particular sheet. Everything is working ok however when I am trying to export the analyses, I am getting the error. After running the describe-analysis-definition, I can see the error:

{ "Type": "DATA_SET_NOT_FOUND", "Message": "The DataSet that used in the calculated field can not be found in the analysis", "ViolatedEntities": [ { "Path": "calculated-field/Count Jobs" } ] }, After doing looking further down the response, I can see that the calculated field referenced in the error doesn't have associated dataset.

{ "Name": "Count Jobs", "Expression": "distinct_count({bc95e394-7ec4-4d9a-81b2-432520f22e67.test})" }

Basically what is happening is that we have had some calculated fields created based on the old dataset and when the dataset was removed, those calculated fields were not automatically removed from the analyses. As a result, we have this error but there is no way to remove those orphaned fields since they are not visible in the analyses anymore.

Denys
已提问 1 年前261 查看次数
1 回答
0

Try creating the missing calculated fields with some default values as per the data type . This should resolve the error . Next step would be to remove these fields from the analysis .Finally you can replace the existing dataset by a newer version of the dataset ( where you dont have these calculated fields )

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则