Tutorial/Schema cheatsheet
Revision as of 01:54, 28 February 2014 by old>Admin (→Related solution TWO steps away)
Schema structure overview
- Table (one):
- Structure: The centre table
- Dimensions (many)
- Structure: Related tables or groupable values
- OLAP: Columns/row "headers" in the cube
- Measures (many)
- Structure: Values in the centre table
- OLAP: Numbers to display in cell cubes
Simple text/number values
Date/period values
Enumeration values
Related solution ONE step away
Structure
Solutions as displayed | "Some child" -> "Father or mother" |
Solution system names | child -> parent |
Database table names | data_child -> data_parent |
The tables also has some properties
- data_child
- PARENT: Key to the "parent" solution
- data_parent
- GRANDPARENT: Key to the "grandparent" solution
- PARENTNAME: Descriptive field
Cube schema
...... <Dimension name="Example" foreignKey="PARENT"> <Hierarchy hasAll="true" primaryKey="DataID" primaryKeyTable="data_parent">
Related solution TWO steps away
Solutions as displayed | "Some child" -> "Father or mother" |
Solution system names | child -> parent |
Database table names | data_child -> data_parent |
- data_child
- PARENT: Key to the "parent" solution
- data_parent
- GRANDPARENT: Key to the "grandparent" solution
- PARENTNAME: Descriptive field
- data_grandparent
- GRANDPARENTNAME: Descriptive field
Cube schema
...... <Dimension name="Example" foreignKey="PARENT"> <Hierarchy hasAll="true" primaryKey="DataID" primaryKeyTable="data_parent"> <Join leftKey="GRANDPARENT" rightKey="DataID">