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
6
votes
1 answer

MDX SSAS - Max Date in Measure

Just need to get MAX date in ALL my Measures in the Cube. For instance, DateID is a Dimention, [Measure].[First Measure],...,...,[Second Measure]. How to get list of MAX(DateID) from all Measures in my Cube.
user2744070
  • 61
  • 1
  • 2
6
votes
4 answers

Tesseract Ocr Engine Cube mode - Training Tesseract

Can you explain me what cube mode and Cube Data Files are on Tesseract ocr Engine and what is the advantage of using them? And how can i train tesseract for Greek to have better results?
George Melidis
  • 599
  • 3
  • 9
  • 25
6
votes
1 answer

Using Filter on measures in MDX query on SSRS

i've creted a report using a cube as datasource and MDX query on my dataset. i have a few measures in my dataset but i want to show wonly the rows with at least one of the measures > 0, using something like an OR filter (measure1 >0 or measure 2 >0…
user1508682
  • 1,329
  • 5
  • 23
  • 34
6
votes
10 answers

SSAS cube processing error about column binding

This is an error message I get after processing an SSIS Cube Errors in the back-end database access module. The size specified for a binding was too small, resulting in one or more column values being truncated. However, it gives me no indication of…
Raj More
  • 47,048
  • 33
  • 131
  • 198
5
votes
2 answers

CSS3: Cube with shadow

I think images speak louder than words in this case. I want to get this effect: But the best I can do with CSS3 is this: And the code for this is absolutely terrible: box-shadow: 1px 1px hsl(0, 0%, 27%), 2px 2px hsl(0, 0%, 27%), …
Blender
  • 289,723
  • 53
  • 439
  • 496
5
votes
0 answers

Any sample on how to expose a olap cube as oData so it can be used using powerpivot?

I'm looking for a sample on how to expose an olap cube as an odata feed so it can be consumed by powerpivot. I do not want to provide direct access to the cube.
Filip Stas
  • 118
  • 1
  • 8
5
votes
1 answer

Plot 3D Cube and Draw Line on 3D in Python

I know, for those who know Python well piece of cake a question. I have an excel file and it looks like this: 1 7 5 8 2 4 6 3 1 7 4 6 8 2 5 3 6 1 5 2 8 3 7 4 My purpose is to draw a cube in Python and draw a…
drorhun
  • 500
  • 7
  • 22
5
votes
1 answer

Open, free, cube data structures for .NET

I'm embarking on a project that allows users to slice and dice data in a fashion much like that provided in OLAP systems. However, the data is not stored in an OLAP system and will be provided to the front-end as flat records from a relational…
Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
5
votes
1 answer

Microsoft cubes usage boundaries and best practicies

So we're thinking about using cubes in our organization. Situation AS IS: DWH (Azure MS SQL) Query language - SQL Microsoft Column Storage (Not real cubes) Query language DAX (There is MDX support, but looks like it's poorly implemented -…
teo van kot
  • 12,350
  • 10
  • 38
  • 70
5
votes
5 answers

Remove 2d slice from 3d numpy array

I need to remove the last arrays from a 3D numpy cube. I have: a = np.array( [[[1,2,3], [4,5,6], [7,8,9]], [[9,8,7], [6,5,4], [3,2,1]], [[0,0,0], [0,0,0], [0,0,0]], [[0,0,0], [0,0,0], [0,0,0]]]) How do I remove the arrays with zero…
Claire.gen
  • 47
  • 3
5
votes
1 answer

SQL Analysis Services OLAP TIME dimension

Hi i'm struggling with adding time dimension to OLAP cube. I can get everything in cube to work except date. In my source data view I have datetime column. I go by using Dimensions->New Dimension->Generate time dimension on the server. I end up with…
Pavel
  • 383
  • 3
  • 6
5
votes
2 answers

How to 4D plot with contour over cube, using matplotlib?

I would like to 4D plot over the cube (x,y,z) vs. q, using the colormap on the 3 surfaces of the cubes, where the color and contour are determined depending on the q variable. Basically, I am looking for a similar image like this: Any help is…
kensaii
  • 314
  • 5
  • 16
5
votes
3 answers

Any way to control number of decimal places while browsing SSAS cube?

When I browse the cube and pivot Sales by Month ,(for example), I get something like 12345.678901. Is there a way to make it so that when a user browses they get values rounded up to nearest two decimal places, ie: 12345.68,…
tedt
  • 51
  • 1
  • 1
  • 2
5
votes
1 answer

MPAndroidChart: LineChart with cubic bezier displays wrong (spikes and loops)

I am trying to make a LineChart with a cubic plot. The result is like in the screenshot below: the cubic bezier displays wrong and has "spikes". Can someone help me make it appear correctly? This is my config : LineDataSet lineDataSet = new…
Malcom
  • 283
  • 3
  • 11
5
votes
3 answers

Oracle - Group by Cube - Sum by distinct column

Sample data: product_type |segment_type |promotion_id |promotion_value ----------------------------------------------------------- Beer |Regional |1 |20 Beer |National |1 |20 Beer |Regional…
Mateus Schneiders
  • 4,853
  • 3
  • 20
  • 40
1 2
3
88 89