MDX 请求显示按类型销售的商品数量?
我有一个数据仓库表,其中每售出一件商品就包含一行。
每行包含项目的类型。
什么 MDX 请求可以显示每种商品类型的已售商品数量?
它会创建什么(维度、级别等)?
如果相关的话,我正在使用 Pentaho/Mondrian/Spoon/Schema Workbench。
I have one data warehouse table that contain one row for each item sold.
Each row contains the item's type.
What MDX request could show the number of items sold for each item type?
What (dimensions,levels,etc) would it suppose to create?
In case it is relevant, I am using Pentaho/Mondrian/Spoon/Schema Workbench.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您从数据仓库构建多维数据集时,您通常会将每个产品销售的行聚合为每个产品一小时或一天的组的总计。很少有大立方体能够支持深入了解单个产品的销售情况。
创建 [产品] 层次结构/维度后,您将使用项目类型基于该层次结构/维度创建虚拟维度,以提供另一种分解信息的方法。
When you build a cube from the data warehouse you would typically aggregate rows for each product sale into totals for groups of one hour, or one day, per product. Few big cubes would support drilling down to individual product sales.
After creating a [Product] hierarchy/dimension you would create a virtual dimension based on that, using the item types, to give another way of breaking the information down.