跳至主要内容
Adaptive Planning
上次更新时间 :2023-06-23
customReportValues API

customReportValues API

预览日期:2025 年 8 月 16 日。上线日期:2025 年 9 月 20 日。
现在,您可以使用 customReportValues API 直接将时间偏移应用于版本数据,以进行比较分析。

变更

要移动报告值的时间线,您现在可以在 customReportValues API 中为 Version 元素指定以下可选参数:
  • 偏移:您希望在版本中平移时间的值。
  • Offset-strata:班次时间的粒度(年、季度、月)。

功能优势

此功能可提供灵活性,并增强您的报告和集成体验。

示例

<tier type="ver"> <el id="2" /> <el id="3" offset="1" offset-strata="2" /> <!-- Co-ordinate with Version id=3 will be offset by 1 unit of time strata id=2. For example if time strata id=2 is quarters, then values of Version id=3 co-ordinates will be shown +1 quarter --> </tier>

我需要做什么?

要在报告中移动版本的时间线,您必须在 customReportValues API 的 Version 元素中指定 Offset 和 Offset-strata 参数。

如果我不执行任何操作,会发生什么情况?

API 按原样运行。您可以选择是否指定新版本参数,仅在进行对比分析时才需要这样做。