Skip to content

TopicCalculatedField

Source code in docs_src/capo_quicksight/types/topic_calculated_field.py
class TopicCalculatedField(TypedDict, closed=True):
    calculated_field_name: (
        "capo_quicksight.types.limited_sensitive_string.LimitedSensitiveString"
    )
    """<p>The calculated field name.</p>"""
    calculated_field_description: NotRequired[
        "capo_quicksight.types.description_sensitive_string.DescriptionSensitiveString"
    ]
    """<p>The calculated field description.</p>"""
    expression: "capo_quicksight.types.expression.Expression"
    """<p>The calculated field expression.</p>"""
    calculated_field_synonyms: NotRequired["capo_quicksight.types.synonyms.Synonyms"]
    """<p>The other names or aliases for the calculated field.</p>"""
    is_included_in_topic: "capo_quicksight.types.boolean.Boolean"
    """<p>A boolean value that indicates if a calculated field is included in the topic.</p>"""
    disable_indexing: NotRequired[
        "capo_quicksight.types.nullable_boolean.NullableBoolean"
    ]
    """<p>A Boolean value that indicates if a calculated field is visible in the autocomplete.</p>"""
    column_data_role: NotRequired[
        "capo_quicksight.types.column_data_role.ColumnDataRole"
    ]
    """<p>The column data role for a calculated field. Valid values for this structure are <code>DIMENSION</code> and <code>MEASURE</code>.</p>"""
    time_granularity: NotRequired[
        "capo_quicksight.types.topic_time_granularity.TopicTimeGranularity"
    ]
    """<p>The level of time precision that is used to aggregate <code>DateTime</code> values.</p>"""
    default_formatting: NotRequired[
        "capo_quicksight.types.default_formatting.DefaultFormatting"
    ]
    """<p>The default formatting definition.</p>"""
    aggregation: NotRequired[
        "capo_quicksight.types.default_aggregation.DefaultAggregation"
    ]
    """<p>The default aggregation. Valid values for this structure are <code>SUM</code>, <code>MAX</code>, <code>MIN</code>, <code>COUNT</code>, <code>DISTINCT_COUNT</code>, and <code>AVERAGE</code>.</p>"""
    comparative_order: NotRequired[
        "capo_quicksight.types.comparative_order.ComparativeOrder"
    ]
    """<p>The order in which data is displayed for the calculated field when it's used in a comparative context.</p>"""
    semantic_type: NotRequired["capo_quicksight.types.semantic_type.SemanticType"]
    """<p>The semantic type.</p>"""
    allowed_aggregations: NotRequired[
        "capo_quicksight.types.author_specified_aggregations.AuthorSpecifiedAggregations"
    ]
    """<p>The list of aggregation types that are allowed for the calculated field. Valid values for this structure are <code>COUNT</code>, <code>DISTINCT_COUNT</code>, <code>MIN</code>, <code>MAX</code>, <code>MEDIAN</code>, <code>SUM</code>, <code>AVERAGE</code>, <code>STDEV</code>, <code>STDEVP</code>, <code>VAR</code>, <code>VARP</code>, and <code>PERCENTILE</code>.</p>"""
    not_allowed_aggregations: NotRequired[
        "capo_quicksight.types.author_specified_aggregations.AuthorSpecifiedAggregations"
    ]
    """<p>The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are <code>COUNT</code>, <code>DISTINCT_COUNT</code>, <code>MIN</code>, <code>MAX</code>, <code>MEDIAN</code>, <code>SUM</code>, <code>AVERAGE</code>, <code>STDEV</code>, <code>STDEVP</code>, <code>VAR</code>, <code>VARP</code>, and <code>PERCENTILE</code>.</p>"""
    never_aggregate_in_filter: "capo_quicksight.types.boolean.Boolean"
    """<p>A Boolean value that indicates whether to never aggregate calculated field in filters.</p>"""
    cell_value_synonyms: NotRequired[
        "capo_quicksight.types.cell_value_synonyms.CellValueSynonyms"
    ]
    """<p>The other names or aliases for the calculated field cell value.</p>"""
    non_additive: NotRequired["capo_quicksight.types.nullable_boolean.NullableBoolean"]
    """<p>The non additive for the table style target.</p>"""

aggregation instance-attribute

aggregation: NotRequired[DefaultAggregation]

The default aggregation. Valid values for this structure are SUM, MAX, MIN, COUNT, DISTINCT_COUNT, and AVERAGE.

allowed_aggregations instance-attribute

allowed_aggregations: NotRequired[AuthorSpecifiedAggregations]

The list of aggregation types that are allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

calculated_field_description instance-attribute

calculated_field_description: NotRequired[DescriptionSensitiveString]

The calculated field description.

calculated_field_name instance-attribute

calculated_field_name: LimitedSensitiveString

The calculated field name.

calculated_field_synonyms instance-attribute

calculated_field_synonyms: NotRequired[Synonyms]

The other names or aliases for the calculated field.

cell_value_synonyms instance-attribute

cell_value_synonyms: NotRequired[CellValueSynonyms]

The other names or aliases for the calculated field cell value.

column_data_role instance-attribute

column_data_role: NotRequired[ColumnDataRole]

The column data role for a calculated field. Valid values for this structure are DIMENSION and MEASURE.

comparative_order instance-attribute

comparative_order: NotRequired[ComparativeOrder]

The order in which data is displayed for the calculated field when it's used in a comparative context.

default_formatting instance-attribute

default_formatting: NotRequired[DefaultFormatting]

The default formatting definition.

disable_indexing instance-attribute

disable_indexing: NotRequired[NullableBoolean]

A Boolean value that indicates if a calculated field is visible in the autocomplete.

expression instance-attribute

expression: Expression

The calculated field expression.

is_included_in_topic instance-attribute

is_included_in_topic: Boolean

A boolean value that indicates if a calculated field is included in the topic.

never_aggregate_in_filter instance-attribute

never_aggregate_in_filter: Boolean

A Boolean value that indicates whether to never aggregate calculated field in filters.

non_additive instance-attribute

non_additive: NotRequired[NullableBoolean]

The non additive for the table style target.

not_allowed_aggregations instance-attribute

not_allowed_aggregations: NotRequired[AuthorSpecifiedAggregations]

The list of aggregation types that are not allowed for the calculated field. Valid values for this structure are COUNT, DISTINCT_COUNT, MIN, MAX, MEDIAN, SUM, AVERAGE, STDEV, STDEVP, VAR, VARP, and PERCENTILE.

semantic_type instance-attribute

semantic_type: NotRequired[SemanticType]

The semantic type.

time_granularity instance-attribute

time_granularity: NotRequired[TopicTimeGranularity]

The level of time precision that is used to aggregate DateTime values.