mostImportantFromInsight
Home > @gooddata/sdk-ui-dashboard > InsightDateDatasets > mostImportantFromInsight
InsightDateDatasets.mostImportantFromInsight property
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Pin-points the 'most important' date dataset referenced by the insight itself. This may be undefined if the insight does not use any date filtering or does not use any date attribute display form's to filter or slice or dice the results.
The importance is evaluated as follows:
- Date datasets used directly in date filters have highest importance. Dataset from first-found filter will be used 2. Date datasets that own the display forms used to slice or dice the insight's data have the second highest importance. Dataset from first-found attribute will be used. 3. Date datasets that own the display forms used for attribute-filtering the insight have the least important. Dataset from first-found attribute filter will be used.
Signature:
readonly mostImportantFromInsight: ICatalogDateDataset | undefined;