Questions tagged [cube]

Cube or OLAP cube, is a method of storing data in a multidimensional form, generally for reporting purposes. In OLAP cubes, data (measures) are categorized by dimensions. OLAP cubes are often pre-summarized across dimensions to drastically improve query time over relational databases. Used on the SQL server family of products.

An OLAP cube or just a cube, is a method of storing data in a multidimensional form, generally for reporting purposes. In OLAP cubes, data (measures) are categorized by dimensions. OLAP cubes are often pre-summarized across dimensions to drastically improve query time over relational databases. The query language used to interact and perform tasks with OLAP cubes is multidimensional expressions (MDX). The MDX language has been adopted by many vendors of multidimensional databases.

Although it stores data like a relational database does, an OLAP cube is structured very differently. OLAP cubes, however, are used by business users for advanced analytics.

Operations

  • Slicing - the act of picking a rectangular subset of a cube by choosing a single value for one of its dimensions, creating a new cube with one fewer dimension.
  • Dicing - producing a subcube by allowing the analyst to pick specific values of multiple dimensions.
  • Drill-up and drill-down - allowing the user to navigate among levels of data ranging from the most summarized (up) to the most detailed (down).
  • Roll-up: A roll-up involves summarizing the data along a dimension.
  • Pivoting - allows an analyst to rotate the cube in space to see its various faces.
1326 questions
57
votes
3 answers

What is the difference between cube, rollup and groupBy operators?

I can't find any detailed documentation regarding the differences. I do notice a difference, because when interchanging cube and groupBy function calls, I get different results. I noticed that for the result using cube, I got a lot of null values on…
Eric Staner
  • 969
  • 2
  • 9
  • 14
36
votes
3 answers

When to use GROUPING SETS, CUBE and ROLLUP

I have recently learned about GROUPING SETS, CUBE and ROLLUP for defining multiple grouping sets in sql server. What I am asking is under what circumstances do we use these features ? What are the benefits and advantages of using them? SELECT…
June
  • 974
  • 5
  • 20
  • 34
30
votes
5 answers

ssas attribute key cannot be found even though it exists and is not due to duplicates

I was trying to rebuild my cube after making some changes the other day to the table/column names in the fact and dimension tables. The process cube action kept returning the following error message: The attribute key cannot be found when…
JM Hicks
  • 1,282
  • 1
  • 11
  • 22
20
votes
3 answers

What is the most efficient way to draw voxels (cubes) in opengl?

I would like to draw voxels by using opengl but it doesn't seem like it is supported. I made a cube drawing function that had 24 vertices (4 vertices per face) but it drops the frame rate when you draw 2500 cubes. I was hoping there was a better…
Xavier
  • 8,828
  • 13
  • 64
  • 98
17
votes
6 answers

How to plot 3D grid (cube) in Matlab

Hi I would like to plot transparent cube-shaped grid with lines in it. Something like this: However, I managed only to draw a 2D grid: [X,Y] = meshgrid(-8:.5:8); Z = X+1; surf(X,Y,Z) I use Matlab R2009b. If it is impossible to plot this in matlab…
Func
  • 443
  • 3
  • 5
  • 10
14
votes
9 answers

OLAP Cube deployment issues

I'm really new to this, so I am probably making a simple mistake. I need to make an OLAP cube using a remote database. After I set up the dimensions and measures and create the cube, I can not get the cube to launch to the local server. I keep…
Daniel Martin
  • 570
  • 1
  • 9
  • 18
13
votes
9 answers

Browsing OLAP cubes

Does anybody know any fine open source cube browser? Ideally, it would be something built with plain javascript. Does it even exists? I'm planing to use it with classic asp agains a SQL database.
opensas
  • 60,462
  • 79
  • 252
  • 386
12
votes
2 answers

Draw Rectangle View with curve bottom In Android

Good day.I want to draw an rectangle as a view but which bottom shall be curved.I do not want to apply background image like that or use any views,because if i use an view and set background,the curve part will still have invisible empty space and i…
VA Entertaiment
  • 575
  • 2
  • 7
  • 20
12
votes
2 answers

Elegant way the find the Vertices of a Cube

Nearly every OpenGL tutorial lets you implement drawing a cube. Therefore the vertices of the cube are needed. In the example code I saw a long list defining every vertex. But I would like to compute the vertices of a cube rather that using a…
danijar
  • 32,406
  • 45
  • 166
  • 297
11
votes
1 answer

Process update is taking longer than Process full

I have a cube which has few big dimensions. It is currently taking 2 hours to Process Full. I have now partitioned the cube and followed below strategy: Process Update dimensions Process data Partition (only needed partition) Process index…
Zerotoinfinity
  • 6,290
  • 32
  • 130
  • 206
10
votes
2 answers

Is there a way to simulate GROUP BY WITH CUBE in MySql?

MySql supports GROUP BY WITH ROLLUP which will return aggregates for the last x of the n columns in the group by but does not support GROUP BY WITH CUBE to take all combinations of the n columns and take aggregates. I can simulate this by doing…
Charles Chen
  • 101
  • 1
  • 1
  • 3
10
votes
4 answers

Find a line connecting two faces of a cubic volume

Imagine a volumetric cube of N³ resolution that is filled with occluding voxels. The cube could be completely filled, or contain curvy "tunnels", or walls - or just a few stray voxels; We now pick any two of the six faces of the bounding cube and…
paniq
  • 1,109
  • 1
  • 11
  • 19
10
votes
1 answer

Label color under the identity inspector in Xcode 4

under Identity Inspector as we all know that the label property is used to identify objects easier in interface builder, but what are the colors to the bottom of it used for ? I tried to select a color but nothing changed in interface builder. EDIT:…
JAHelia
  • 6,934
  • 17
  • 74
  • 134
9
votes
1 answer

HOWTO create OpenGL ES 2.0 SkyBox?

Can you give me hint to any good SkyBox example in OpenGL ES 2.0? I have found only OpenGL and does not work for me. I am doing it this way: Initialization: glUseProgram(m_programSkyBox.Program); glGenBuffers(1,…
Martin Pilch
  • 3,245
  • 3
  • 38
  • 61
8
votes
2 answers

SSAS 2012 cube browser- how can I create columns from dimensions?

I am new to SSAS, and have created a cube in SSAS 2012. When I browse the cube, I can easily at my dimensions as rows, but how do I add them as columns? In previous versions (I have access to a Cube created in 2008), when you browse the cube, you…
Lock
  • 5,422
  • 14
  • 66
  • 113
1
2 3
88 89