~openerp-community/openobject-doc/6.1

« back to all changes in this revision

Viewing changes to i18n/vi/source/bi/CubeDesigner/DefiningHier.rst

  • Committer: TruongSinh Tran
  • Date: 2009-07-19 19:02:35 UTC
  • Revision ID: truongsinh@vipescoserver-20090719190235-fu3bxcrbpvwuk5h7
[FIX] build_i18n.py .. raw:: html

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
.. i18n: :ref:`Hierarchy <hierarchy-link>` is the arrangements of objects, peoples etc .. in a ranked or some series. The hierarchy are the way of arranging the dimensions. 
9
9
 
10
 
:ref:`Hierarchy <hierarchy-link>` is the arrangements of objects, peoples etc .. in a ranked or some series. The hierarchy are the way of arranging the dimensions... i18n:  
 
10
:ref:`Hierarchy <hierarchy-link>` is the arrangements of objects, peoples etc .. in a ranked or some series. The hierarchy are the way of arranging the dimensions. 
11
11
 
12
12
.. i18n: It need the fact table. 
13
13
 
14
 
It need the fact table... i18n:  
 
14
It need the fact table. 
15
15
 
16
16
.. i18n: Lets take the Example of Products. 
17
17
 
18
 
Lets take the Example of Products... i18n:  
 
18
Lets take the Example of Products. 
19
19
 
20
20
.. i18n: We want our sales cube to work on the products. Means we want to see the products sold. We have divided the products in to the category. So we will make the Product Hierarchy to display products by categories.
21
21
 
26
26
Lets see the new hierarchy. According to the dimension some values are set by default like hierarchy name and dimension.
27
27
 
28
28
.. i18n: .. image::  images/hier1.png
29
 
   .. i18n: :scale: 65
 
29
.. i18n:    :scale: 65
30
30
 
31
31
.. image::  images/hier1.png
32
32
   :scale: 65
36
36
We now move to define the fact table for the hierarchy. Relational column will show the all fields of the sale_order_line and sale_order. As these are the fact tables for the cube. We select product_id from sale_order_line which is related to product_prodcut
37
37
 
38
38
.. i18n: .. image::  images/hier2.png
39
 
   .. i18n: :scale: 65
 
39
.. i18n:    :scale: 65
40
40
 
41
41
.. image::  images/hier2.png
42
42
   :scale: 65
48
48
Now the list is filtered accordingly for adding the join tables
49
49
 
50
50
.. i18n: .. image::  images/hier3.png
51
 
   .. i18n: :scale: 65
 
51
.. i18n:    :scale: 65
52
52
 
53
53
.. image::  images/hier3.png
54
54
   :scale: 65
58
58
After selecting the product_tmpl_id we move to select the category table.
59
59
 
60
60
.. i18n: .. image::  images/hier4.png
61
 
   .. i18n: :scale: 65
 
61
.. i18n:    :scale: 65
62
62
 
63
63
.. image::  images/hier4.png
64
64
   :scale: 65
65
65
 
66
66
.. i18n: So final fact table for the Product Category will be
67
 
 .. i18n: 
 
67
.. i18n:  
68
68
.. i18n: .. image::  images/hier5.png
69
 
   .. i18n: :scale: 65
 
69
.. i18n:    :scale: 65
70
70
 
71
71
So final fact table for the Product Category will be
72
72