处理 Business Intelligence Studio 多维数据集维度中的重复值
我有一个立方体维度,它与层和市场之间有关系。
它们包含在同一个表中,具有结构 id、层、市场。但是,当我创建维度时,它会在表中每一行的成员属性中显示一行。有什么方法可以再次构造它,使其变为:
一级
二级
三级
当我扩展它时,每个相关层下面都会列出市场吗?
I have a Cube dimension which has a relationship between tier and market.
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,找到问题了。上表有 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.