![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- hello, can I use fact table as one of the table in dimesion (snowflake schema)? the situation is: I've got invoice number in the level of the one sale line in fact table and a dimesion table with types of sale documents. I want to have hierarchy: DocGroup (comes from the dim table) -> DokKind (dim table) - DocType (dim table) -> InvoiceNo ( from fact table ). can use the fact table in dimesion and can I use the dimension with cube (Sale cube) based on the same fact table ? am I far from the right way? should I re-model my DW? I use AS as OLAP server. any suggestions? thx Edmo . |
#3
| |||
| |||
|
|
hello, It is possible to create a dimension based upon a fact table. I would prefer to build it from a dimension table. As the time goes by... the processing of your dimension will take more time (I am guessing that your fact table will grow at a higher rate that your dimension table) If that does not happen.... I would prefer a diferent table... just in case... Imagine that in the future you create another fact that also uses the same dimension. Bye the way.... personaly... I prefer to create the dimensions based on views and not on tables. It is more flexible the managment of the dims (I guess it may be a little bit slow). With views you can alter descriptions and some of the structure of the dim wihout touching AS2000. Bye Joao Campanico -----Original Message----- hello, can I use fact table as one of the table in dimesion (snowflake schema)? the situation is: I've got invoice number in the level of the one sale line in fact table and a dimesion table with types of sale documents. I want to have hierarchy: DocGroup (comes from the dim table) -> DokKind (dim table) - DocType (dim table) -> InvoiceNo ( from fact table ). can use the fact table in dimesion and can I use the dimension with cube (Sale cube) based on the same fact table ? am I far from the right way? should I re-model my DW? I use AS as OLAP server. any suggestions? thx Edmo . |
#4
| |||
| |||
|
|
hello, can I use fact table as one of the table in dimesion (snowflake schema)? the situation is: I've got invoice number in the level of the one sale line in fact table and a dimesion table with types of sale documents. I want to have hierarchy: DocGroup (comes from the dim table) -> DokKind (dim table) - DocType (dim table) -> InvoiceNo ( from fact table ). can use the fact table in dimesion and can I use the dimension with cube (Sale cube) based on the same fact table ? am I far from the right way? should I re-model my DW? I use AS as OLAP server. any suggestions? thx Edmo |
#5
| |||
| |||
|
|
That would work fine. However: - How detailed are you getting with invoices (how many leaves are you talking about)? |
|
hierarchy: DocGroup (comes from the dim table) -> DokKind (dim table) -> DocType (dim table) -> InvoiceNo ( from fact table ). |

|
Might cause a problem. - Sounds like you would have more flexibility having them be separate dimensions. - No other information on Invoices (to make it a dimension table etc...)? |
![]() |
| Thread Tools | |
| Display Modes | |
| |