Skip to content
v2.273.0

DateMeasureFieldProperty Struct ​

The measure type field with date type columns.

Example ​

ts
// 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 dateMeasureFieldProperty: quicksight.CfnDashboard.DateMeasureFieldProperty = {
  column: {
    columnName: 'columnName',

    // the properties below are optional
    dataSetIdentifier: 'dataSetIdentifier',
    topicIdentifier: 'topicIdentifier',
  },
  fieldId: 'fieldId',

  // the properties below are optional
  aggregationFunction: 'aggregationFunction',
  formatConfiguration: {
    dateTimeFormat: 'dateTimeFormat',
    nullValueFormatConfiguration: {
      nullString: 'nullString',
    },
    numericFormatConfiguration: {
      currencyDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        numberScale: 'numberScale',
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            groupingStyle: 'groupingStyle',
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
        symbol: 'symbol',
      },
      numberDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        numberScale: 'numberScale',
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            groupingStyle: 'groupingStyle',
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
      percentageDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            groupingStyle: 'groupingStyle',
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
    },
  },
};

Properties ​

aggregationFunctionstringaggregation_functionstraggregationFunctionStringAggregationFunctionstringAggregationFunction*string#
The aggregation function of the measure field.
The column that is used in the `DateMeasureField` .
fieldIdstringfield_idstrfieldIdStringFieldIdstringFieldId*stringrequired#
The custom field ID.
formatConfigurationIResolvable | CfnDashboard.DateTimeFormatConfigurationPropertyformat_configurationtyping.Union[IResolvable, DateTimeFormatConfigurationProperty]formatConfigurationIResolvableFormatConfigurationIResolvableFormatConfigurationinterface{}#
The format configuration of the field.