dbTalk Databases Forums  

SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
balajikkrishnan via SQLMonster.com
 
Posts: n/a

Default SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input - 07-21-2006 , 04:58 AM






Hi All,

We are facing some problems with Snow Flake schema in AS 2005,

Problem with SNOW FLAKE Schema in AS2005
Example Schema : 2 Dim Table and 1 Fact Table

DIM TABLE 1
-------------------
Quote:
DimRegion |
-------------------
Region ID
Region Name


DIM TABLE 2
---------------
Quote:
DimUser |
---------------
User ID
User Name
Region ID

FACT TABLE
--------------------
Quote:
FactTestData |
--------------------
User ID

RelationShip
------------------

FactTestData --------->DimUser---------------->DimRegion

The above is a very simple Snow Flake Schema the FactTestData is directly
related to the Dimension DimUser and DimUser is directly related to
DimRegion;

The FactTestData is related to DimRegion through DimUser.


Now the problem is when a report is created in reporting services, the
measure (Fact Test Data Count) is dragged and dropped in the query builder,
now if I apply a filter

DimUser.iRegionID = 1 it works, but when we drag and drop the filter from
DimRegion.iRegionID = 1 it does not filter, similarly if the column Region ID
is dragged and dropped from DimUser then the result set (measure count)
breaks up according to regions, but when the Region ID is dragged and dropped
from
Dim Region it does not break up and shows the same number for all regions.

In other words the filters and columns works perfectly if the dimension is
directly related to the fact, is there solution for the same.


Thanks
Balaji

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200607/1


Reply With Quote
  #2  
Old   
Rose
 
Posts: n/a

Default Re: SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input - 07-25-2006 , 03:57 AM






In the "Dimension Usage" tab, make sure the DimRegion is related to the
measure groups.

If they arent related, the slicing will not work.

balajikkrishnan via SQLMonster.com wrote:

Quote:
Hi All,

We are facing some problems with Snow Flake schema in AS 2005,

Problem with SNOW FLAKE Schema in AS2005
Example Schema : 2 Dim Table and 1 Fact Table

DIM TABLE 1
-------------------
| DimRegion |
-------------------
Region ID
Region Name


DIM TABLE 2
---------------
| DimUser |
---------------
User ID
User Name
Region ID

FACT TABLE
--------------------
| FactTestData |
--------------------
User ID

RelationShip
------------------

FactTestData --------->DimUser---------------->DimRegion

The above is a very simple Snow Flake Schema the FactTestData is directly
related to the Dimension DimUser and DimUser is directly related to
DimRegion;

The FactTestData is related to DimRegion through DimUser.


Now the problem is when a report is created in reporting services, the
measure (Fact Test Data Count) is dragged and dropped in the query builder,
now if I apply a filter

DimUser.iRegionID = 1 it works, but when we drag and drop the filter from
DimRegion.iRegionID = 1 it does not filter, similarly if the column Region ID
is dragged and dropped from DimUser then the result set (measure count)
breaks up according to regions, but when the Region ID is dragged and dropped
from
Dim Region it does not break up and shows the same number for all regions.

In other words the filters and columns works perfectly if the dimension is
directly related to the fact, is there solution for the same.


Thanks
Balaji

--
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200607/1


Reply With Quote
  #3  
Old   
balajikkrishnan via SQLMonster.com
 
Posts: n/a

Default Re: SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input - 07-25-2006 , 01:05 PM



Hi Rose,

They are related, but still it dosent work.

Balaji

Rose wrote:
Quote:
In the "Dimension Usage" tab, make sure the DimRegion is related to the
measure groups.

If they arent related, the slicing will not work.

Hi All,

[quoted text clipped - 55 lines]
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200607/1
--
Message posted via http://www.sqlmonster.com


Reply With Quote
  #4  
Old   
Rose
 
Posts: n/a

Default Re: SNOWFLAK Schema Issue in AS 2005/RS 2005 - Very Critical, Need Input - 07-26-2006 , 11:45 AM



I had similar problems before. In your example, after I created a
hierarchy in DimUser that looks like this (Let's call this
UserRegionHierarchy) :

RegionID
Quote:
UserID

basically, any RegionID that I need, I would use

[DimUser].[UserRegionHierarchy].[RegionID].&[1]


and I did not need the DimRegion anymore.

Not sure if this helps.


balajikkrishnan via SQLMonster.com wrote:
Quote:
Hi Rose,

They are related, but still it dosent work.

Balaji

Rose wrote:
In the "Dimension Usage" tab, make sure the DimRegion is related to the
measure groups.

If they arent related, the slicing will not work.

Hi All,

[quoted text clipped - 55 lines]
Message posted via SQLMonster.com
http://www.sqlmonster.com/Uwe/Forums...-olap/200607/1

--
Message posted via http://www.sqlmonster.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.