Re: SSAS 2k5: Fact and Bridge Fact table
- From: "Alex Deiden" <AlexDeiden@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Feb 2006 22:52:28 -0800
hi Deepak,
I have a question about design for MSAS 2k5 on one-to-many of facts, when
one fact became a dimension to another fact.
I have cube with Item fact table and transaction fact table.
one-to-many ( Item.transaction_key is FK to TRANSACTION fact table
whereTransaction.transaction_key is PK ).
I also have Date with date_key as PK.
Transaction.date_key is FK in Transaction table to Date table
and
Item.date_tend_key is FK in Item table to Date table
I have 5 dimensions around TRANSACTION fact table and 3 dimensions around
ITEM fact table.
When building the cube I've defined TRANSACTION fact table as a 'fact and
dimension',
and ITEM table as a 'fact' .
Every aggregation/slicing by all dimensions works OK ...
EXCEPT when I am using Date dimension (date hrchy) with Item
facts(measures).
(date dimension has 4 levels of calendar date hrchy,fiscal hrchy and week
hrchy - none works with Item fact measures).
when drilling I am getting the same total for single measure, for example,
$12199999 for any date level or any dimension that is join to Date dimension,
even for years(upper level of cal.date hrchy) that do not have any data for
items' aggregations(measures)...
I know the explanation of problem sounds very vague...many things could
happened but ...
data is correct and if I am building a separate cube for item (without
transaction fact) - everything works well for all Date slicing...
I can build 2 cubes based on 2 separate facts - transaction and item...
but before doing so ...I would appreciate any suggestions on what can be
wrong with design of One-to-Many Facts , i.e. when fact is a fact and
dimension with Shared date dimension...or smth else...
thank you ,
Alex Deiden
"Deepak Puri" wrote:
This MSDN paper should help you:.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90
/html/sql2k5_mmdiminas.asp
Many-to-Many Dimensions in Analysis Services 2005
Richard Tkachuk
Microsoft Corporation
June 2005
Applies to:
Microsoft SQL Server 2005 Analysis Services
Summary: See an example of using the Many-to-Many dimension in SQL
Server 2005 Analysis Services to analyze sales data, and get ideas for
other uses such as treating medical conditions, software testing, and
more.
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***
- Follow-Ups:
- Re: SSAS 2k5: Fact and Bridge Fact table
- From: Deepak Puri
- Re: SSAS 2k5: Fact and Bridge Fact table
- References:
- SSAS 2k5: Fact and Bridge Fact table
- From: CarlosR
- Re: SSAS 2k5: Fact and Bridge Fact table
- From: Deepak Puri
- SSAS 2k5: Fact and Bridge Fact table
- Prev by Date: Re: Date Calculation..urgent please
- Next by Date: Re: Impersonating Users in Cube Browser
- Previous by thread: Re: SSAS 2k5: Fact and Bridge Fact table
- Next by thread: Re: SSAS 2k5: Fact and Bridge Fact table
- Index(es):
Relevant Pages
|