简体   繁体   English

向 SSAS 多维数据集添加相关维度

[英]Adding related dimensions to a SSAS Cube

Hello there and thank for taking your time to read this.您好,感谢您抽出宝贵时间阅读本文。 This is a very trivial question, however, it is a bit challenging to me.这是一个非常琐碎的问题,但是对我来说有点挑战性。 I am trying to add a related dimension in an existing cube and have been unsuccessful so far.我正在尝试在现有多维数据集中添加相关维度,但到目前为止尚未成功。 I have gone through a few tutorials, but nowhere this concept is covered.我已经阅读了一些教程,但没有涉及到这个概念。 I am very new to SSAS, Data Warehousing and SQL server so please bear with my ignorance.我对 SSAS、数据仓库和 SQL 服务器非常陌生,所以请原谅我的无知。

I have documented the steps taken, https://1drv.ms/b/s?AugVuOwqQy9XiFoE2BFR5omxFXAZ?e=Zytp3y我已经记录了所采取的步骤, https://1drv.ms/b/s?AugVuOwqQy9XiFoE2BFR5omxFXAZ?e=Zytp3y

If any additional information, please let me know.如果有任何其他信息,请告诉我。 Any help is appreciated.任何帮助表示赞赏。

Thank You - KK (filesincloud@outlook.com)谢谢 - KK (filesincloud@outlook.com)

You seem to want to define a Snowflake schema.您似乎想定义一个雪花模式。

You can read about it here你可以在这里阅读

Information from multiple tables is required to define the dimension.需要来自多个表的信息来定义维度。 Each dimension is based on attributes from columns in multiple tables linked to each other and ultimately to the fact table by primary key - foreign key relationships.每个维度都基于多个表中的列的属性,这些表相互链接并最终通过主键-外键关系连接到事实表。

For the Dimension table to Dimension table relationship, you need to use the Referenced Relationship对于维度表到维度表的关系,需要使用引用关系

In simple terms, you need a set a relationship type.简单来说,您需要设置一个关系类型。 The below shows the different relationship types:下面显示了不同的关系类型:

在此处输入图像描述

If you have the AdventureWorks sample , you can see the following Reference relationship defined:如果您有AdventureWorks 示例,您可以看到定义的以下引用关系:

在此处输入图像描述 You can now look at your dimension reference relationship and change it.您现在可以查看尺寸参考关系并进行更改。

Good luck !祝你好运 !

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM