Toto wrote:Hello, I am new to TM1 and I do not really get it:
Measures are the cells/intersections of dimensions, correct?
Not exactly; that's a value rather than a measure. What's the difference? Think of someone telling you the temperature; they may say that it's 25. That tells you the VALUE of the temperature, and is equivalent to the number that's stored in the cell of a cube. But it tells you nothing about what the MEASURE of the temperature is, since 25 means something quite different here in Australia (temperate) compared to what it would mean in the US (freezing).
You'd therefore have a dimension which has elements telling you what that number represents; in this case, one of the elements of that "measures" dimension would be "Degrees Celsius".
More typically, a measures dimension (for, say, a P&L cube) might be the chart of accounts one; it may include elements like Sales, Purchases, Salaries and Wages, Cost of Production and so on.
Suppose that you had a simple retail business with two stores. You might have the dimensions:
- Store (with 3 elements, Store 1, Store 2 and the consolidation Total Stores)
- Period (which might have the weeks of the year; this would be your time dimension); and
- Account (which might have the elements Profit and Loss (calculated from the rest of the elements), Sales, Purchases, Rent, Salaries, Advertising) This would effectively be your "measures" dimension.
So if you wanted to look at the sales for store 1 for the current week, for example, you would pick the elements
- Store1
- WE 02/08/09
- Sales.
The number that's stored in that cell (say, $20,000) is your value, but your "measure" is really "sales".
Measure isn't really a defined term in TM1, but generally it's one dimension which will tell you, for all of the other elements that you select, what the number in a cell represents. If you read through the manuals you'll note that you can set a "Measures Dimension" in a TM1 cube, but that's mostly for other systems which may be getting data from TM1; TM1 itself doesn't use it.
Toto wrote:Here, in an example, I have two dimensions:
Time
Price_and_Cost_Measures
At Price_And_Cost_Measures I have Unit Sales Price which is an n-element, and then I have "Status", which is an string-element. That's where I am getting confused: How can an element of ONE dimension describe what kind of value is in the cell, as the cell is an intersection of all dimensions?
If your Time elements represent months, you may have an element for "Jul 09".
If you select Jul 09, then the value stored at the intersection of:
- Jul 09; and
- Unit Sales Price
will tell you what the unit sales price is for that month.
The value which is stored at the intersection of:
- Jul 09; and
- Status
will tell you what the status is for that month.
So it isn't really the element of one dimension that's telling you what the value is. The elements of one dimension (in this case Price_And_Cost_Measures) are telling you what the value
represents, but only for the combination of elements that you have selected from all of the other dimensions.