interface NumericRangeFilterProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.QuickSight.CfnAnalysis.NumericRangeFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnAnalysis_NumericRangeFilterProperty |
Java | software.amazon.awscdk.services.quicksight.CfnAnalysis.NumericRangeFilterProperty |
Python | aws_cdk.aws_quicksight.CfnAnalysis.NumericRangeFilterProperty |
TypeScript | aws-cdk-lib » aws_quicksight » CfnAnalysis » NumericRangeFilterProperty |
A NumericRangeFilter
filters values that are within the value range.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_quicksight as quicksight } from 'aws-cdk-lib';
const numericRangeFilterProperty: quicksight.CfnAnalysis.NumericRangeFilterProperty = {
column: {
columnName: 'columnName',
dataSetIdentifier: 'dataSetIdentifier',
},
filterId: 'filterId',
nullOption: 'nullOption',
// the properties below are optional
aggregationFunction: {
attributeAggregationFunction: {
simpleAttributeAggregation: 'simpleAttributeAggregation',
valueForMultipleValues: 'valueForMultipleValues',
},
categoricalAggregationFunction: 'categoricalAggregationFunction',
dateAggregationFunction: 'dateAggregationFunction',
numericalAggregationFunction: {
percentileAggregation: {
percentileValue: 123,
},
simpleNumericalAggregation: 'simpleNumericalAggregation',
},
},
defaultFilterControlConfiguration: {
controlOptions: {
defaultDateTimePickerOptions: {
commitMode: 'commitMode',
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultDropdownOptions: {
commitMode: 'commitMode',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultListOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
searchOptions: {
visibility: 'visibility',
},
selectAllOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
selectableValues: {
values: ['values'],
},
type: 'type',
},
defaultRelativeDateTimeOptions: {
commitMode: 'commitMode',
displayOptions: {
dateTimeFormat: 'dateTimeFormat',
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultSliderOptions: {
maximumValue: 123,
minimumValue: 123,
stepSize: 123,
// the properties below are optional
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
type: 'type',
},
defaultTextAreaOptions: {
delimiter: 'delimiter',
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
defaultTextFieldOptions: {
displayOptions: {
infoIconLabelOptions: {
infoIconText: 'infoIconText',
visibility: 'visibility',
},
placeholderOptions: {
visibility: 'visibility',
},
titleOptions: {
customLabel: 'customLabel',
fontConfiguration: {
fontColor: 'fontColor',
fontDecoration: 'fontDecoration',
fontSize: {
relative: 'relative',
},
fontStyle: 'fontStyle',
fontWeight: {
name: 'name',
},
},
visibility: 'visibility',
},
},
},
},
title: 'title',
},
includeMaximum: false,
includeMinimum: false,
rangeMaximum: {
parameter: 'parameter',
staticValue: 123,
},
rangeMinimum: {
parameter: 'parameter',
staticValue: 123,
},
selectAllOptions: 'selectAllOptions',
};
Properties
Name | Type | Description |
---|---|---|
column | IResolvable | Column | The column that the filter is applied to. |
filter | string | An identifier that uniquely identifies a filter within a dashboard, analysis, or template. |
null | string | This option determines how null values should be treated when filtering data. |
aggregation | IResolvable | Aggregation | The aggregation function of the filter. |
default | IResolvable | Default | The default configurations for the associated controls. |
include | boolean | IResolvable | Determines whether the maximum value in the filter value range should be included in the filtered results. |
include | boolean | IResolvable | Determines whether the minimum value in the filter value range should be included in the filtered results. |
range | IResolvable | Numeric | The maximum value for the filter value range. |
range | IResolvable | Numeric | The minimum value for the filter value range. |
select | string | Select all of the values. Null is not the assigned value of select all. |
column
Type:
IResolvable
|
Column
The column that the filter is applied to.
filterId
Type:
string
An identifier that uniquely identifies a filter within a dashboard, analysis, or template.
nullOption
Type:
string
This option determines how null values should be treated when filtering data.
ALL_VALUES
: Include null values in filtered results.NULLS_ONLY
: Only include null values in filtered results.NON_NULLS_ONLY
: Exclude null values from filtered results.
aggregationFunction?
Type:
IResolvable
|
Aggregation
(optional)
The aggregation function of the filter.
defaultFilterControlConfiguration?
Type:
IResolvable
|
Default
(optional)
The default configurations for the associated controls.
This applies only for filters that are scoped to multiple sheets.
includeMaximum?
Type:
boolean |
IResolvable
(optional)
Determines whether the maximum value in the filter value range should be included in the filtered results.
includeMinimum?
Type:
boolean |
IResolvable
(optional)
Determines whether the minimum value in the filter value range should be included in the filtered results.
rangeMaximum?
Type:
IResolvable
|
Numeric
(optional)
The maximum value for the filter value range.
rangeMinimum?
Type:
IResolvable
|
Numeric
(optional)
The minimum value for the filter value range.
selectAllOptions?
Type:
string
(optional)
Select all of the values. Null is not the assigned value of select all.
FILTER_ALL_VALUES