Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Slowly changing dimension question

 
   Database Help (Home) -> OLAP RSS
Next:  Batch for Transfering multiple DTS packages from ..  
Author Message
JB

External


Since: Mar 07, 2008
Posts: 13



(Msg. 1) Posted: Mon Dec 29, 2008 8:35 am
Post subject: Slowly changing dimension question
Archived from groups: microsoft>public>sqlserver>olap (more info?)

When adding a bit flag to show which slowly changing dimension value is the
current one, I find that I then have to include this flag's value in all my
MDX queries (for each SCD) - is this how it should be done?
Many thanks.

 >> Stay informed about: Slowly changing dimension question 
Back to top
Login to vote
richardblees

External


Since: Dec 29, 2008
Posts: 1



(Msg. 2) Posted: Mon Dec 29, 2008 7:14 pm
Post subject: Re: Slowly changing dimension question [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 30, 3:35 am, JB wrote:
> When adding a bit flag to show which slowly changing dimension value is the
> current one, I find that I then have to include this flag's value in all my
> MDX queries (for each SCD) - is this how it should be done?
> Many thanks.

You shouldn't have to do this. Your slowly changing dimension should
have a business key, which isn't unique, and a synthetic key, which is
unique. When you join the dimension to a measure group, you should
join the slowly changing dimension using the synthetic key. This
means that you will need to either update your fact table to include
the synthetic key as a foreign key, or change your fact table to a
view, which dynamically determines the correct synthetic key based on
the business key and date range.

There are lots of OLAP and data mining demonstrations on
http://RichardLees.com.au/Sites/Demonstrations

Richard
http://RichardLees.com.au

 >> Stay informed about: Slowly changing dimension question 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Inpect on changing dimension - Hi all: I want to know what is the inpect on changing dimension. I have using one changing dimension on my Cube dimesnion. Every time when I incremental update the dimension, it took 1 min to finish the update. However, it took about 2 hours to...

Changing de name of a dimension member - Hi, I have a simple cube, with only 3 dimensions, but I have one problem, I wan't to change a Dimension Member Name only in certain scenarios. I tried to make a SCOPE, but this only affected my Measures, and I wanted to change the name of one element in...

Changing the order of Dimension Attributes - Hi There, I have a dimension with the following attributes Family Group Line Type Of course, when browsing the dimension, they are appearing alphabetically. Is there any way to change the order to something like: Family Type Group Line Any help..

Binding to time dimension - changing granularity - Hi All, I have a problem which probably has a standard solution, since its probably faced by many people: I have an inventory table (that is the source for a bunch of measures) and a time dimension. users would like to see inentory by time, which is..

MS OLAP dimension structure question - This is MS OLAP with Excel 2003 as frontend. Today I have separate dimensions for ledgeraccount, department and voucher (voucher > 64K). They can be used together like this: DimLA DimDep DimV LA1001 Dep1 V1001 <values> LA1001 ...
   Database Help (Home) -> OLAP All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]