getInsightWithAddedFilters()
Home > @gooddata/sdk-backend-spi > IWorkspaceInsightsService > getInsightWithAddedFilters
IWorkspaceInsightsService.getInsightWithAddedFilters() method
Get insight with the filters provided merged with the filters specified by the insight itself.
Signature:
getInsightWithAddedFilters<T extends IInsightDefinition>(insight: T, filters: IFilter[]): Promise<T>;
Parameters
Parameter | Type | Description |
---|---|---|
insight | T | insight to start with |
filters | IFilter[] | filters to merge |
Returns:
Promise<T>
promise of new insight with the filters merged in