Skip to content

PeriodToDateComputation

Source code in docs_src/capo_quicksight/types/period_to_date_computation.py
class PeriodToDateComputation(TypedDict, closed=True):
    computation_id: (
        "capo_quicksight.types.short_restrictive_resource_id.ShortRestrictiveResourceId"
    )
    """<p>The ID for a computation.</p>"""
    name: NotRequired["capo_quicksight.types.string.String"]
    """<p>The name of a computation.</p>"""
    time: NotRequired["capo_quicksight.types.dimension_field.DimensionField"]
    """<p>The time field that is used in a computation.</p>"""
    value: NotRequired["capo_quicksight.types.measure_field.MeasureField"]
    """<p>The value field that is used in a computation.</p>"""
    period_time_granularity: NotRequired[
        "capo_quicksight.types.time_granularity.TimeGranularity"
    ]
    """<p>The time granularity setup of period to date computation. Choose from the following options:</p> <ul> <li> <p>YEAR: Year to date.</p> </li> <li> <p>MONTH: Month to date.</p> </li> </ul>"""

computation_id instance-attribute

The ID for a computation.

name instance-attribute

name: NotRequired[String]

The name of a computation.

period_time_granularity instance-attribute

period_time_granularity: NotRequired[TimeGranularity]

The time granularity setup of period to date computation. Choose from the following options:

  • YEAR: Year to date.

  • MONTH: Month to date.

time instance-attribute

time: NotRequired[DimensionField]

The time field that is used in a computation.

value instance-attribute

value: NotRequired[MeasureField]

The value field that is used in a computation.