1 | The aggregation that is applied to the measure. |
2 | The measure to aggregate over time. |
3 | The date data item for the period calculation. Only data items whose formats specify year are available. |
4 | The
inner interval for which the values are aggregated. For example, specify
_ByMonth_ as the inner interval and _ByYear_ as the outer interval
to aggregate the year-to-date values for each month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
5 | The
outer interval that provides the context for the cumulative aggregation.
For example, specify _ByMonth_ as the inner interval and _ByYear_
as the outer interval to aggregate the year-to-date values for each
month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
6 | The
number of outer intervals to offset from the current period. 0 specifies
that the period from the current outer interval is used. A negative
value indicates a previous interval.
For example, if your
inner interval is by month and your outer interval is by year, then
-1 specifies the year-to-date monthly values for the previous year.
|
7 | The
scope for the period. The scope specifies how much of each period
is aggregated.
Select one of the following:
_Full_
aggregates the values
for the entire period.
_ToDate_
aggregates only the
values up to a specific day of the outer interval.
_ToToday_
aggregates only the
values up to the equivalent of today’s position in the current
interval. For example, if today is the 40th day of the quarter, and
the outer interval is by quarter, then only the values up to the 40th
day of each quarter are used.
The value for today
is evaluated dynamically whenever the aggregated item is viewed in
a visualization or report object.
|
8 | If
you select _ToDate_ as the scope, then select the date that is used
to subset each period.
For example, if you
select 09NOV2013, and the outer interval is by year, then only the
values up to November 9 of each year are used in the aggregation.
|
CumulativePeriod(_Sum_, 'Expenses'n, 'Date'n, _ByMonth_, _ByYear_, 0, _Full_)aggregates the sum of year-to-date monthly values for the Expenses measure using date values from the Date data item.
1 | The aggregation that is applied to the measure. |
2 | The measure to aggregate over time. |
3 | The date data item for the period calculation. Only data items whose formats specify year are available. |
4 | The
inner interval for which the values are aggregated. For example, specify
_ByMonth_ as the inner interval to aggregate the values for each month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
5 | The
outer interval that provides the context for the parallel period aggregation.
For example, specify _ByMonth_ as the inner interval and _ByYear_
as the outer interval to aggregate the monthly values for a different
year.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
6 | The
number of outer intervals to offset from the current period. 0 specifies
that the period from the current outer interval is used. A negative
value indicates a previous interval.
For example, if your
inner interval is by month and your outer interval is by year, then
-1 specifies the monthly values for the previous year.
|
7 | The
scope for the period. The scope specifies how much of each period
is aggregated.
Select one of the following:
_Full_
aggregates the values
for the entire period.
_ToDate_
aggregates only the
values up to a specific day of the outer interval.
_ToToday_
aggregates only the
values up to the equivalent of today’s position in the current
interval. For example, if today is the 40th day of the quarter, and
the outer interval is by quarter, then only the values up to the 40th
day of each quarter are used.
The value for today
is evaluated dynamically whenever the aggregated item is viewed in
a visualization or report object.
|
8 | If
you select _ToDate_ as the scope, then select the date that is used
to subset each period.
For example, if you
select 09NOV2013, and the outer interval is by year, then only the
values up to November 9 of each year are used in the aggregation.
|
ParallelPeriod(_Sum_, 'Expenses'n, 'Date'n, _ByMonth_, _ByYear_, -1, _Full_)aggregates the sum of monthly values for the Expenses measure for the previous year using date values from the Date data item.
1 | The aggregation that is applied to the measure. |
2 | The measure to aggregate over time. |
3 | The date data item for the period calculation. Only data items whose formats specify year are available. |
4 | The
interval for which the values are aggregated. For example, specify
_ByMonth_ as the interval to aggregate the values for each month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
Period(_Sum_, 'Expenses'n, 'Date'n, _ByMonth_)aggregates the sum of monthly values for the Expenses measure using date values from the Date data item.
1 | The aggregation that is applied to the measure. |
2 | The measure to aggregate over time. |
3 | The date data item for the period calculation. Only data items whose formats specify year are available. |
4 | The
interval for which the values are aggregated. For example, specify
_ByMonth_ as the interval to aggregate the values for each month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
5 | The reference date for the period aggregation. |
PeriodWithDate(_Sum_, 'Expenses'n, 'Date'n, _ByMonth_, '15OCT2013'd)aggregates the sum of monthly values for the Expenses measure using date values from the Date data item.
1 | The aggregation that is applied to the measure. |
2 | The measure to aggregate over time. |
3 | The date data item for the period calculation. Only data items whose formats specify year are available. |
4 | The
interval for which the values are aggregated. For example, specify
_ByMonth_ as the interval to aggregate the year-to-date values for
each month.
Select one of the following:
_Inferred_
specifies that the
interval is determined automatically from the visualization or report
object that displays the aggregated item.
_ByMonth_
specifies a monthly
interval.
_ByQuarter_
specifies a quarterly
interval.
_ByYear_
specifies a yearly
interval.
|
5 | The
number of intervals to offset from the current period. 0 specifies
that the period from the current interval is used. A negative value
indicates a previous interval.
For example, if your
interval is by month, then -1 specifies the monthly values for the
previous month.
|
6 | The
scope for the period. The scope specifies how much of each period
is aggregated.
Select one of the following:
_Full_
aggregates the values
for the entire period.
_ToDate_
aggregates only the
values up to a specific day of the interval.
_ToToday_
aggregates only the
values up to the equivalent of today’s position in the current
interval. For example, if today is the 40th day of the quarter, and
the outer interval is by quarter, then only the values up to the 40th
day of each quarter are used.
The value for today
is evaluated dynamically whenever the aggregated item is viewed in
a visualization or report object.
|
7 | If
you select _ToDate_ as the scope, then select the date that is used
to subset each period.
For example, if you
select 09NOV2013 and the outer interval is by quarter, then only the
values up to the 40th day of each quarter are used in the aggregation.
|
RelativePeriod(_Sum_, 'Expenses'n, 'Date'n, _ByMonth_, -1, _Full_)aggregates the sum of monthly values for the Expenses measure for the previous month using date values from the Date data item.