aws-cdk-lib.aws_quicksight.CfnDashboard.CategoricalMeasureFieldProperty

interface CategoricalMeasureFieldProperty

LanguageType name
.NETAmazon.CDK.AWS.QuickSight.CfnDashboard.CategoricalMeasureFieldProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsquicksight#CfnDashboard_CategoricalMeasureFieldProperty
Javasoftware.amazon.awscdk.services.quicksight.CfnDashboard.CategoricalMeasureFieldProperty
Pythonaws_cdk.aws_quicksight.CfnDashboard.CategoricalMeasureFieldProperty
TypeScript aws-cdk-lib » aws_quicksight » CfnDashboard » CategoricalMeasureFieldProperty

The measure type field with categorical type columns.

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 categoricalMeasureFieldProperty: quicksight.CfnDashboard.CategoricalMeasureFieldProperty = {
  column: {
    columnName: 'columnName',
    dataSetIdentifier: 'dataSetIdentifier',
  },
  fieldId: 'fieldId',

  // the properties below are optional
  aggregationFunction: 'aggregationFunction',
  formatConfiguration: {
    nullValueFormatConfiguration: {
      nullString: 'nullString',
    },
    numericFormatConfiguration: {
      currencyDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        numberScale: 'numberScale',
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            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: {
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
      percentageDisplayFormatConfiguration: {
        decimalPlacesConfiguration: {
          decimalPlaces: 123,
        },
        negativeValueConfiguration: {
          displayMode: 'displayMode',
        },
        nullValueFormatConfiguration: {
          nullString: 'nullString',
        },
        prefix: 'prefix',
        separatorConfiguration: {
          decimalSeparator: 'decimalSeparator',
          thousandsSeparator: {
            symbol: 'symbol',
            visibility: 'visibility',
          },
        },
        suffix: 'suffix',
      },
    },
  },
};

Properties

NameTypeDescription
columnIResolvable | ColumnIdentifierPropertyThe column that is used in the CategoricalMeasureField .
fieldIdstringThe custom field ID.
aggregationFunction?stringThe aggregation function of the measure field.
formatConfiguration?IResolvable | StringFormatConfigurationPropertyThe format configuration of the field.

column

Type: IResolvable | ColumnIdentifierProperty

The column that is used in the CategoricalMeasureField .


fieldId

Type: string

The custom field ID.


aggregationFunction?

Type: string (optional)

The aggregation function of the measure field.


formatConfiguration?

Type: IResolvable | StringFormatConfigurationProperty (optional)

The format configuration of the field.