在非父子维度中创建层次结构

发布于 2024-08-10 10:51:25 字数 138 浏览 6 评论 0原文

我正在多维数据集中使用 AdventureWorksDW 创建产品维度的用户层次结构。 我添加了产品密钥、产品类别密钥和产品子类别密钥属性。但是,当我将鼠标指针悬停在“属性”窗口中的“暗淡产品”上时,它总是向我发出警告“在非父子维度中创建层次结构”作为工具提示。

I am creating a user hierarchy for product dimension with AdventureWorksDW in a cube.
I have added Product Key, ProductCategory Key and Product Subcategory Key attributes. But, its always giving me a warning "create hierarchy in non parent child dimensions" as a tooltip as I hover my mouse pointer over the Dim Product in Attributes window.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

¢蛋碎的人ぎ生 2024-08-17 10:51:25

这只是一个警告。如果可以的话,最好创建层次结构,因为 SSAS 可以使用它们来帮助建立索引和聚合,但根据您的设计,这可能是不可能的(这就是为什么这是一个警告而不是错误)

如果您有查看 Adventure Works 示例多维数据集,您将看到他们在其产品维度中创建了属性关系和层次结构。

This is just a warning. It is a best practice to create hierarchies if you can as SSAS can use these to help with indexing and aggregations, but depending on your design it may not be possible (which is why this is a warning and not an error)

If you have a look at the Adventure Works sample cube you will see that they have created attribute relationships and hierarchies in their product dimension.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文