SSAS: Parent-child hierarchy inside hierarchy (multidimensional cube)

时间:2015-10-29 15:50:01

标签: multidimensional-array ssas parent-child hierarchy cube

Here's a snippet from my dataset:

PrimaryKey          
taskID  TaskParentID    projectID   customerID
1       0               1           1
2       0               1           1
3       0               2           1
4       3               2           1
5       3               2           1
6       5               2           1
7       5               2           1
8       0               3           2
9       0               4           2
10      9               4           2
11      0               5           3
12      11              5           3
13      0               6           3
14      0               6           3

I want to build a dimension in SSAS with a hierarchy like this:

enter image description here

I can build the Task / Sub task parent-child hierarchy - but how do I link it to projects and customers? Is it even possible in one dimension?

1 个答案:

答案 0 :(得分:1)

仅使用“任务”列创建父子层次结构。然后安装BIDS Helper并运行this feature。它将从父子层次结构创建一个水平表和维度。然后将客户和项目级别添加到自然层次结构的顶部。