Cubes & Hierarchies
Ram Kedem
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
• Used Data Source View :
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
“Publishing” an SSAS Project
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
“Publishing” an SSAS Project
• There are three distinct phases when “publishing” as SSAS
project :
• Build – Project file structure are being verified. In addition several
local files are being created.
• Deploy – Sends files from the build process to the target server.
• Process – Reads data from the source and build the dimension
and cube structures.
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Cube
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Cube Structure
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Cube Basic Browsing
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
New Attribute from Column
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
New Attribute from Column
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
New Attribute from Column
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
New Attribute from Column
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Hierarchies
• Most dimensions contain data that is hierarchical in nature
• Time : Year => Quarter => Month => Day
• Geography : Country => State => City => Postal Code
• An SSAS dimension may contain zero to many hierarchies
• Hierarchies represent the way users expect to explore data at
more detailed levels.
• You can organize attribute hierarchies into levels within user
hierarchies to provide navigation paths for users in a cube.
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Terminology
• A hierarchy is made up of multiple levels
• Year, Quarter, and month are all levels of a Calendar hierarchy
• A member is a specific value at a particular level
• 2008 is a member at the Year level
• June-07 is a member at the Month level
• A user hierarchy can represent a natural hierarchy, such as
city, state, and country, or can just represent a navigation
path, such as employee name, title, and department name.
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Hierarchies
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Creating Hierarchies
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Using Hierarchies
Copyright 2014 © Ram Kedem. All rights reserved. Not to be reproduced without written consent.
ramkedem.com
Using Hierarchies

SSAS Cubes & Hierarchies

  • 1.
  • 2.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube • Used Data Source View :
  • 3.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 4.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 5.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 6.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 7.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 8.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 9.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 10.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com “Publishing” an SSAS Project
  • 11.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com “Publishing” an SSAS Project • There are three distinct phases when “publishing” as SSAS project : • Build – Project file structure are being verified. In addition several local files are being created. • Deploy – Sends files from the build process to the target server. • Process – Reads data from the source and build the dimension and cube structures.
  • 12.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 13.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Cube
  • 14.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Cube Structure
  • 15.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Cube Basic Browsing
  • 16.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com New Attribute from Column
  • 17.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com New Attribute from Column
  • 18.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com New Attribute from Column
  • 19.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com New Attribute from Column
  • 20.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Hierarchies • Most dimensions contain data that is hierarchical in nature • Time : Year => Quarter => Month => Day • Geography : Country => State => City => Postal Code • An SSAS dimension may contain zero to many hierarchies • Hierarchies represent the way users expect to explore data at more detailed levels. • You can organize attribute hierarchies into levels within user hierarchies to provide navigation paths for users in a cube.
  • 21.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Terminology • A hierarchy is made up of multiple levels • Year, Quarter, and month are all levels of a Calendar hierarchy • A member is a specific value at a particular level • 2008 is a member at the Year level • June-07 is a member at the Month level • A user hierarchy can represent a natural hierarchy, such as city, state, and country, or can just represent a navigation path, such as employee name, title, and department name.
  • 22.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Hierarchies
  • 23.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Creating Hierarchies
  • 24.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Using Hierarchies
  • 25.
    Copyright 2014 ©Ram Kedem. All rights reserved. Not to be reproduced without written consent. ramkedem.com Using Hierarchies