Questions tagged [dimension]

In physics and mathematics, the dimension of a space or object is informally defined as the minimum number of coordinates needed to specify any point within it. In the dimensional modeling, a dimension is a table in a star schema of a data warehouse. It is collection of reference information about measurable event. Dimensions categorize and describe data facts and measures in way that support meaningful answers to business questions.

Dimension table

A dimension is a table in a Star Schema or Snowflake schema of a data warehouse. It is collection of reference information about measurable event. These events are known as facts and stored in a fact table. Dimensions categorize and describe data warehouse facts and measures in way that support meaningful answers to business questions. They form the core of dimensional modeling.

Dimensions provide the "who, what, where, when, why, and how" context surrounding a business process event. Every dimension table has a single primary(surrogate) key. The primary key is embedded as a foreign key in any associated fact table. Dimension tables are usually wide, flat denormalized for analyzing data.

Links

782 questions
4
votes
2 answers

Aggregrate without reducing dimension of dataframe

I am trying to use the aggregate function in R where I want the dimension of the output data frame to remain unchanged. For example: Let's say I have the following data frame Name------Type------ Price Prod1-----A-------- …
4
votes
1 answer

SSAS: change boolean to 'yes' or 'no'

i'm new to Analysis Services. I have created a dimension on a boolean column. Now users want to have 'yes' and 'no' instead of 'true' and 'false' as result. Thanks.
Tim Schmelter
  • 450,073
  • 74
  • 686
  • 939
4
votes
3 answers

MDX: Filter a Dimension on its properties

I want to filter a dimension on its properties. My Dimension consists of various categories with parent Leaf-categories. Each Category has an online status (true or false). Within the dimension I define the property "is_online". Now I want to…
David
  • 41
  • 1
  • 3
4
votes
1 answer

Input dimension mismatch binary crossentropy Lasagne and Theano

I read all posts in the net adressing the issue where people forgot to change the target vector to a matrix, and as a problem remains after this change, I decided to ask my question here. Workarounds are mentioned below, but new problems show and I…
gilgamash
  • 862
  • 10
  • 31
4
votes
3 answers

Maintaining the aspect ratio of Image using CSS or jQuery?

I have images which dimension is (900x512). As I am going to make it responsive so images need to adjust within that screen width maintaining aspect ratio!!
Jim Fahad
  • 635
  • 1
  • 8
  • 21
4
votes
1 answer

Fortran array with explicit double precision

First, I would like to say that I have very little experience with Fortran 77. I found a precision problem with this code. It uses a implicit double precision (a-h,o-z) definition for all the variables inside the igrf12syn subroutine. However, when…
hawaii
  • 328
  • 4
  • 12
4
votes
1 answer

Linking date dimension from two different cubes

I have two cubes Computer Engineering Environmental Science. Both cubes have a same Date dimension. I have two scorecards, each for Computer Engineering and Environmental Science as shown in following figure. I would like to have a result as shown…
Merin Nakarmi
  • 3,148
  • 3
  • 35
  • 42
4
votes
3 answers

Why width: 100% is not assuming the full window width size?

I have HTML code and CSS below: body{ background-color: #C7C7C7; } #content{ background-color: #FFF; text-align: center; } .warp{ padding:15px; display: inline-block; width: 700px; background-color: red; } #header{ width:…
Ngorld
  • 856
  • 7
  • 17
4
votes
1 answer

Fortran array inside array

I am trying to create an array in Fortran similar to a cell in MATLAB. Basically (for example) I am trying to create an array X(10) where the element X(1) is an array with dimension (20,2), X(2) is an array with dimension (25,2), etc. How can I do…
Gvilla1000
  • 41
  • 2
4
votes
0 answers

Determining type in a functional language

In a small Program users insert multiple typed formulas and wire them together in order to create a system of simultaneous equations. And I'd like to introduce runtime type checking, so as to report an error if dimensions do not match Basical the…
4
votes
1 answer

creation of dimension and fact table through source tables

I have imported my flatfiles to SQL Server 2012 and created few tables (source tables). I need to build a cube in SSAS. But I need to make "dimension" and "fact" tables it seems with proper PK/FK relations. Could someone tell me whether I need to…
user2861497
  • 41
  • 1
  • 3
4
votes
3 answers

Use of the java.awt.Dimension class

I would like to use Dimension class (java.awt.Dimension), but it supports only integers. I want make Rectangle and Square classes like these: Constructor: public Rectangle(Dimension dim(double A, double B)) { // constructor code } Is it better…
uetoyo
  • 329
  • 1
  • 3
  • 11
4
votes
1 answer

How change dimension programmatically?

I have more dimens 10dp 15dp 8dp 20dp
Max Usanin
  • 2,479
  • 6
  • 40
  • 70
4
votes
1 answer

Android widget dimensions?

I have a widget that it's width is "180dp".I want to display an activity when user clicks on a button on widget,and activity's width must be equal to widget's width.It seems to be simple but I could not solve it.Indeed I guess that at least one of…
hasanghaforian
  • 13,858
  • 11
  • 76
  • 167
3
votes
1 answer

Android AppWidget No More Room when using dimen resource

I created an XML file for an AppWidget as shown below. xml/appwidget_4x1.xml
Jeremy Edwards
  • 14,620
  • 17
  • 74
  • 99