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
8
votes
2 answers

get "1" for a one-dimensional numpy.array using a shape-like function

In a function, I give a Numpy array : It can be multi-dimentional but also one-dimentional So when I give a multi-dimentional array : np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12]]).shape >>> (3, 4) and …
Covich
  • 2,544
  • 4
  • 26
  • 37
8
votes
4 answers

How to fix 'error in the metadata manager dimension id of missing ' error in SSAS?

I have this error that keeps popping up from time to time, the error is along the lines of the following: Error -1055653635 : Errors in the metadata manager. The dimension with ID of <>, Name of <> referenced by the <> cube, does not exist. Error…
Rowan
  • 463
  • 3
  • 8
  • 20
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
7
votes
1 answer

How to add custom dimension column in google analytics "User Explorer" view

I am working on ionic & angular application and implemented google analytics for the same and worked on "User Id" tracking as well. I've added custom dimension named "Environment" in google analytics and I'm able to see it in "Behavior > Overview"…
Mr. Noddy
  • 1,530
  • 2
  • 16
  • 45
7
votes
1 answer

How to crop a strip (width x height) in Blender VSE?

I have a several videos in a Blender project with dimension larger than 1280x720, which is my output dimension. Instead of rescaling my videos to fit the output dimension, I would like to crop them to 1280x720 pixels, so that part of the scene is…
Rafael
  • 454
  • 1
  • 4
  • 12
7
votes
1 answer

Can I perform math operations on dimens & variables?

I am a client side developer that entered recently into an android project. In client side world we got frameworks like SASS that let us do math operations on variables. In Android styles resources, we got Variables and Dimensions. My Question is if…
neoswf
  • 4,730
  • 6
  • 39
  • 59
6
votes
2 answers

Is there a function for Python which like getimagesize in PHP?

I have search for a while, and there is a function call get_image_dimensions(), however, as to my understanding, it works for the images which are downloaded or say local. So, any functions or solution like getimagesize in PHP, that we can just get…
Yann
  • 63
  • 3
6
votes
4 answers

How to deep copy 2 dimensional array (different row sizes)

This is my first question in a community like this, so my format in question may not be very good sorry for that in the first place. Now that my problem is I want to deep copy a 2 dimension array in Java. It is pretty easy when doin it in 1…
user694368
6
votes
1 answer

Linked dimension performance issue

I am working with 2 star schema data warehouses, each data warehouse contains a fact table and the dimensions tables are located in separate databases (one database used by both data warehouses). I created a multidimensional analysis project for…
Yahfoufi
  • 2,220
  • 1
  • 22
  • 41
6
votes
1 answer

Android ConstraintLayout @dimens replaced with hardcoded values

Heyho mates, currently I am learning the new layout editor of Android Studio with the new ConstraintLayout. By the way, I hate it. But I got the issue, that if I want to specify a layout_height with @dimen, it gets replaced with a dp value…
6
votes
3 answers

random number generator with x,y coordinates as seed

I'm looking for a efficient, uniformly distributed PRNG, that generates one random integer for any whole number point in the plain with coordinates x and y as input to the function. int rand(int x, int y) It has to deliver the same random number…
bakkaa
  • 673
  • 6
  • 25
6
votes
1 answer

Finding the dimension (height x width) of a MP4 file being uploaded

My ASP.NET / C# web app allows users to upload MP4 files to a database for later display using the HTML5
marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
6
votes
1 answer

Different sizes on 2 devices, even if I use "dp"

I've 2 tablets: 1 Samsung Android 3.0 DisplayMetrics {density=1.0, width=600, height=976, scaledDensity=1.0, xdpi=161.55031, ydpi=155.51021} 1 Low cost device, Android 2.3.3 DisplayMetrics {density=1.0, width=480, height=800,…
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
5
votes
3 answers

How to get the dimension of a JPopupMenu?

I have a TrayIcon with a JPopupMenu attached to it. When I add a JMenuItem to the popup menu, I want to know the dimension of this popup menu. But the dimension is not calculated: getBounds(), getSize() and getVisibleRect() all return zero-by-zero…
MC Emperor
  • 22,334
  • 15
  • 80
  • 130
5
votes
2 answers

Incorrect value of app module dimen/color when using in dynamic-delivery module

I have app module and one dynamic module named - "chat". I have a layout and fragment resides in chat module, in layout there is a android:textSize="@dimen/sp20" written. Dimen is defined in app module due to that it is showing incorrect text size…
1 2
3
52 53