处理 Business Intelligence Studio 多维数据集维度中的重复值

发布于 2024-12-19 21:49:09 字数 227 浏览 5 评论 0原文

我有一个立方体维度,它与层和市场之间有关系。

在此处输入图像描述

它们包含在同一个表中,具有结构 id、层、市场。但是,当我创建维度时,它会在表中每一行的成员属性中显示一行。有什么方法可以再次构造它,使其变为:
一级
二级
三级
当我扩展它时,每个相关层下面都会列出市场吗?

I have a Cube dimension which has a relationship between tier and market.

enter image description here

They are contained in the same table, with structure id, tier, market. However, when I create the dimension, it's showing a row in member properties for EACH row in the table. Is there any way to construct this again so that it becomes :
Tier1
Tier2
Tier3
with the markets listed underneath each relevant tier when I expand it?

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

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

发布评论

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

评论(1

尸血腥色 2024-12-26 21:49:09

好的,找到问题了。上表有 3 列:id、tier、market。当 BIS 自动创建维度时,它添加了一对一关系。
删除维度,使用现有表创建新维度,将 id 设置为键列,然后选择其他列作为维度属性。重新构建、重新部署、处理,维度将具有所需的树形结构。

Ok, found the issue. The above table had 3 columns: id, tier, market. When BIS automatically created the dimension, it added a one-one relationship.
Delete the dimension, creaqte a new dimension using that existing table, set id as the key column, then select the other columns as dimension attributes. Rebuild, redeploy, and process, and the dimension will have a tree structure as required.

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