除非将某些内容添加到“值”列表中,为什么具有多个源的PowerPivots不会显示正确的数据?

时间:2015-11-05 14:44:08

标签: excel powerpivot powerbi

我有三张桌子:

enter image description here

事件

enter image description here

PersonEvent

enter image description here

参加活动的人员。这种多对多关系由联结表PersonEvent建模,它还记录事件上的小时数。我将每个表添加到数据模型中,如下所示:

enter image description here

我想看看哪些人参加了哪些活动。 PowerPivot显示每个人都参加每个赛事,这显然是错误的:

enter image description here

只有当我向PowerPivot添加花费的小时数时,才会显示正确的信息:

enter image description here

为什么?

1 个答案:

答案 0 :(得分:3)

这与Power Pivot无关,也与Excel数据透视表MDX生成无关。

Here's a thorough explanation from a thread I participated in on the Technet forums.请参阅帖子中的倒数第二篇文章。