---
schema_version: "1"
id: 69da1fa26d19571c6899c926654fccdc8538419e22c87e3c5dca11daef33275b
title: 在视图中没有日期时进行预测
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/public/desktop/forecast_no_date.md
canonical_url: https://help.tableau.com/v0.0/public/desktop/zh-cn/forecast_no_date.htm
source_site: help.tableau.com
content_type: documentation
content_hash: fca623748c38fb7b064beb5ecd8319dc5dcea5218cdc7a5a38c45479c5f56a82
description: Understand how Tableau forecasts when no date dimension is in the view.
---
[跳转到主要内容](#main-content)

# 在视图中没有日期时进行预测

如果视图中没有有效日期，Tableau 将在视图中查找具有整数值的维度。如果它找到此类维度，则会使用该维度来预测视图中度量的其他值。与日期一样，如果选择某个整数维度来对要预测的度量进行排序，则不再会使用该维度来对数据分区。如果有多个此类整数维度，Tableau 将按此顺序进行：

- “列”功能区上的整数维度。如果有多个此类维度，它将使用第一个维度（功能区上最左侧的维度）。
- “行”功能区上的整数维度。
- “页面”功能区上的整数维度。
- “标记”卡上的整数维度。

当 Tableau 使用整数维度进行预测时，“预测选项”和“预测描述”对话框将自动指定预测按周期聚合：

![一个对话框，其中包含用于设置预测持续时间、源数据聚合和预测模型的选项。](/tableau/next/zh-cn/public/desktop/zh-cn/Img/forecast_integer1.png)