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

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

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

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

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

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