`
housheng33
  • 浏览: 231242 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Mondrian 共享维

    博客分类:
  • BI
 
阅读更多

Shared dimensions
When generating the SQL for a join, mondrian needs to know which column to join to. If you are
joining to a join, then you need to tell it which of the tables in the join that column belongs to
(usually it will be the first table in the join).
Because shared dimensions don't belong to a cube, you have to give them an explicit table (or
other data source). When you use them in a particular cube, you specify the foreign key. This
example shows the Store Type dimension being joined to the Sales cube using the
sales_fact_1997.store_id foreign key, and to the Warehouse cube using the
warehouse.warehouse_store_id foreign key:
<Dimension name="Store Type">
<Hierarchy hasAll="true" primaryKey="store_id">
<Table name="store"/>
<Level name="Store Type" column="store_type" uniqueMembers="true"/>
</Hierarchy>
</Dimension>

 

 


<Cube name="Sales">
<Table name="sales_fact_1997"/>
...
<DimensionUsage name="Store Type" source="Store Type"
foreignKey="store_id"/>
</Cube>
<Cube name="Warehouse">
<Table name="warehouse"/>
...
<DimensionUsage name="Store Type" source="Store Type"
foreignKey="warehouse_store_id"/>
</Cube>

1
12
分享到:
评论

相关推荐

    [Mondrian] Mondrian 实战 英文版

    [Manning Publications] Mondrian 实战 英文版 [Manning Publications] Mondrian in Action E Book ☆ 出版信息:☆ [作者信息] William Back D Nicholas Goodman Julian Hyde [出版机构] Manning ...

    基于ORACLE的mondrian配置

    自已刚开始学mondrian,里面有两个文件,一个是mondrian自带的一个演示示例,是基于oracle实现的过程。还有一个是eclipse中配置mondrian源代码的过程。都是我自己总结的,原创。QQ:6855957

    mondrian3.5

    Mondrian是一个开放源代码的Rolap服务器,使用java开发的。它实现了xmla和jolap规范,而且自定义了一种使用mdx语言的客户端接口。...在功能上,Mondrian支持共享维和成员计算,支持星型模型和雪花模型的功能。

    mondrian foodmart SQL SERVER 数据库

    mondrian foodmart SQL SERVER 数据库

    Mondrian介绍及配置.pdf

    Mondrian 介绍 配置

    mondrian运行源码配置方法

    本资源包括mondrian源码运行的方法,以及说明文档 还有配置过程中需要的jar包,这个配置方法是可行的,本人已经用这个配置方法成功的运行了mondrian源码!

    mondrian报表技术概要

    mondrian报表技术概要,实例讲述开发过程中遇到的问题以及配置

    mondrian-3.5.0

    mondrian-3.5.0.jar 解决中文乱码问题

    Mondrian+Oracle 实例

    Mondrian+Oracle 实例,及异常分析,功能介绍,连接数据库的各种方式等

    Mondrian用于web项目

    Mondrian用于web项目 报表开发文档

    Mondrian In Action

    This book is about Mondrian 4.0 and related technologies. It’s organized into chap- ters based on functionality. Chapters are designed to be standalone in most cases, but it’s easier, especially for...

    Mondrian 3.0 Technical Guide

    Mondrian 3.0 Technical Guide

    mondrian-api.zip

    mondrian 提供的schema4.0 官网api,这个资源也是找了很久才找到

    Manning.Mondrian_in_Action.2013.pdf

    Mondrian lets users drive analysis 8 ■ Mondrian is a low-cost, low-risk solution 11 ■ Mondrian is fast 13 ■ Mondrian is secure 14 ■ Mondrian is based on open standards 14 1.4 Summary 15 2 Mondrian...

    数据分析工具mondrian教程

    本教程包含mondrian部分中文文档 mondrian如何创建Cube,维度,度量及其他属性 mdx语法介绍

    联机分析olap之mondrian

    包含开发所需的mondrian-3.0.4.11371,编写xml的schema-workbench工具,sql文件,以及开发文档。

    mondrian源码分析报告

    Mondrian是一个开放源代码的Rolap服务器,使用java开发的。它实现了xmla和jolap规范,而且自定义了一种使用mdx语言的客户端接口。...在功能上,Mondrian支持共享维和成员计算,支持星型模型和雪花模型的功能。

    mondrian源码分析和改造设计.doc

    mondrian源码分析和改造设计.doc,详细介绍mondrian源码框架,各个文件夹的作用等等!!

    Mondrian应用于web项目

    OLAP Server Mondrian应用于web项目,文档指导大家顺利实现OLAP Server

    mondrian-3.11.jar

    mondrian-3.11.jar

Global site tag (gtag.js) - Google Analytics