Hey All,
I’m trying to copy dashboard using boto3. in the create_dashboard, I’m using definition (and not template because I want specific sheets and not all of them).
I get this error:
botocore.exceptions.ParamValidationError: Parameter validation failed:
Missing required parameter in Definition.FilterGroups[51].Filters[0].TopBottomFilter.AggregationSortConfigurations[0]: “AggregationFunction”
Missing required parameter in Definition.FilterGroups[53].Filters[0].TopBottomFilter.AggregationSortConfigurations[0]: “AggregationFunction”
Missing required parameter in Definition.FilterGroups[130].Filters[0].TopBottomFilter.AggregationSortConfigurations[0]: “AggregationFunction”
When I look in my original analysis, I see that the filters has custom in the AggregationFunction.
when I try to do describe on analysis definition, I see those specific filters without those required parameter too.
example (from the descrice_definition):
‘AggregationSortConfigurations’: [{‘Column’: {‘DataSetIdentifier’: ‘BI_history_shipments_BI_Stardox_TEST_ENVIRONMENT’, ‘ColumnName’: ‘KPI selection’}, ‘SortDirection’: ‘DESC’}]
The ‘AggregationFunction’ is missing.
@hadasbin you are probably better off doing it from the template.
Create a template from analysis, and then use that template to create a dashboard, This way you can associate different datasets to different identical dashboards.
Hi !
Thank you for your quick answer.
I familiar with the template option but I need to duplicate some of the sheets.
example: I have dashboard with 10 sheets, and I want to get dashboard with just 2 of them.
The only way I success to do it is from analysis / template definition.
Both of them failed on the same error (which attached above)
do you have another idea how can I get just part of the sheets?
Hi,
when I try to put in create_dashboard definition and SourceEntity (for the template) I get this error:
botocore.errorfactory.InvalidParameterValueException: An error occurred (InvalidParameterValueException) when calling the CreateDashboard operation: Resource creation can only be done from one SourceEntity or Definition.
Where in the create_dashboard I control the which sheets will be in the dashboard?
From what I found, the only place I can control it is in the definition.
Did you solve this? I’m currently trying to do the exact same thing. Getting this error:
Error creating Dashboard: xxxxxxxxxxxx in account: xxxxxxxxxxx. Error: An error occurred (InvalidParameterValueException) when calling the CreateDashboard operation: The DataSetIdentifier RD_I_Ration_Costs_joined_dataset_20200215387 used is invalid