> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
> Use this file to discover all available pages before exploring further.

# 🔏限定条件

指标限定条件是通过对多维数据集进行 **切片**,**切块**和**组合切片** 操作来减少数据集的维度数量进而降低数据分析的复杂度.

例如下图演示的, 源数据集有三个维度: **时间**, **产品**和**地区**. 如果创建某指标设定了限定条件为时间等于 `2004` 那么此指标对应的数据集(降维后的数据集非物理存在)维度减少为 **产品**和**地区**两个.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/xpertai/en/bi/indicator-management/OLAP_slicing_en.png" alt="" />

By Original: InfopedianDerivative work: Jay - OLAP slicing.png, CC BY-SA 4.0, [https://commons.wikimedia.org/w/index.php?curid=105680876](https://commons.wikimedia.org/w/index.php?curid=105680876)

指标定义时可以将未设置限定条件的维度设置为 **自由维度**, 这样可以明确告诉用户数据集降维后的可用维度. 但这个并不是强制要求, 用户仍然可以选择使用任何维度进行分析.

限定条件的详细设置可以参见 [切片器](../../stories/slicer/).

对于使用 SQL 模型的指标来说, 还可以设置组合切片器以实现复杂限定条件, 详细参见 [组合切片器](../../stories/combination-slicer/).
