尽管模型有关系,但数据分布未显示在 power bi 中

问题描述

我有两个模型:DataProduct Master。 他们的关系被定义为通过类别名称加入:

enter image description here

我已将度量写为:

2. Total sales = SUM(Data[Sales Amount])

显示为:

enter image description here

然后我检查了:

enter image description here

显示

enter image description here

为什么category nameName的分布没有显示在表格中?

然后在 If 之后,我取消选中 measure 2. Total sales 那么它将显示

enter image description here

为什么 category nameName 的分布没有按照总销售额显示

解决方法

检查你们的关系。您确定连接了正确的列吗?数据类型是一样的吗?关系的一侧是否有空白? “T恤”代替“T恤”