dbTalk Databases Forums  

AS 2000 Problem loading aggregate data for dimensions

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


Discuss AS 2000 Problem loading aggregate data for dimensions in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ronna
 
Posts: n/a

Default AS 2000 Problem loading aggregate data for dimensions - 11-08-2005 , 09:50 AM






Using parent child dimension, non-leaf data hidden, No All Level, for one
dimension allows me to properly load aggregate data but when I introduce a
second dimension with the same properties the result is double counting of
the aggregate item (i.e. roll-up is occuring on the aggregate items for the
new dimension).
Is there a work-around to achieve this?
I have a small illustrative example mdb source and cab if required.

Reply With Quote
  #2  
Old   
Darren Gosbell
 
Posts: n/a

Default Re: AS 2000 Problem loading aggregate data for dimensions - 11-08-2005 , 07:22 PM






Sounds like there is a problem with the relationships in your star
schema. You don't by any chance have the two dimensions join on the one
column in the fact table do you? This would produce duplicate rows when
AS issues the select statement joining the dimensions to the fact table.

If you examine the SQL statement that is emitted during processing you
should be able to see the issue. You might find that you need to chain
the dimensions or use a view to create a second column to join on.

If you want more specific help your sample would be of assistance. You
can contact me off line via the contact page on my blog if you want.

HTH

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <8A9A9D34-B518-418A-A2B5-FF0994F9E5BF (AT) microsoft (DOT) com>,
Ronna (AT) discussions (DOT) microsoft.com says...
Quote:
Using parent child dimension, non-leaf data hidden, No All Level, for one
dimension allows me to properly load aggregate data but when I introduce a
second dimension with the same properties the result is double counting of
the aggregate item (i.e. roll-up is occuring on the aggregate items for the
new dimension).
Is there a work-around to achieve this?
I have a small illustrative example mdb source and cab if required.



Reply With Quote
  #3  
Old   
Ronna
 
Posts: n/a

Default Re: AS 2000 Problem loading aggregate data for dimensions - 11-09-2005 , 08:37 AM



Thank you for the prompt reply. No I have a straightforward schema. No two
dimensions point to the same fact table row and I have checked the select
statement generated by the cube processing and it is simple and looks correct.
I would like to send you my small reproducable example. I've responded via
your blog page.
Thanks

"Darren Gosbell" wrote:

Quote:
Sounds like there is a problem with the relationships in your star
schema. You don't by any chance have the two dimensions join on the one
column in the fact table do you? This would produce duplicate rows when
AS issues the select statement joining the dimensions to the fact table.

If you examine the SQL statement that is emitted during processing you
should be able to see the issue. You might find that you need to chain
the dimensions or use a view to create a second column to join on.

If you want more specific help your sample would be of assistance. You
can contact me off line via the contact page on my blog if you want.

HTH

--
Regards
Darren Gosbell [MCSD]
Blog: http://www.geekswithblogs.net/darrengosbell

In article <8A9A9D34-B518-418A-A2B5-FF0994F9E5BF (AT) microsoft (DOT) com>,
Ronna (AT) discussions (DOT) microsoft.com says...
Using parent child dimension, non-leaf data hidden, No All Level, for one
dimension allows me to properly load aggregate data but when I introduce a
second dimension with the same properties the result is double counting of
the aggregate item (i.e. roll-up is occuring on the aggregate items for the
new dimension).
Is there a work-around to achieve this?
I have a small illustrative example mdb source and cab if required.




Reply With Quote
  #4  
Old   
Chris Webb
 
Posts: n/a

Default RE: AS 2000 Problem loading aggregate data for dimensions - 11-09-2005 , 09:58 AM



Are you running into the issue discussed in the following thread?

http://groups.google.co.uk/group/mic...510f5a2eb73851

HTH,

Chris

--
Blog at:
http://spaces.msn.com/members/cwebbbi/


"Ronna" wrote:

Quote:
Using parent child dimension, non-leaf data hidden, No All Level, for one
dimension allows me to properly load aggregate data but when I introduce a
second dimension with the same properties the result is double counting of
the aggregate item (i.e. roll-up is occuring on the aggregate items for the
new dimension).
Is there a work-around to achieve this?
I have a small illustrative example mdb source and cab if required.

Reply With Quote
  #5  
Old   
Ronna
 
Posts: n/a

Default RE: AS 2000 Problem loading aggregate data for dimensions - 11-09-2005 , 01:17 PM



Yes, thank you. This solution works. I had tried it already by editing my
existing custom rollup
formulas that way - but got #ERR. When I actually deleted the original
dimesions and created new ones this way it worked.
And consequently, since these 2 dimensions now only make sense when (a) used
together and (b) on a certain fact table, they must become private dimensions
of the cube instead of shared dimensions.
Thanks again,
R

"Chris Webb" wrote:

Quote:
Are you running into the issue discussed in the following thread?

http://groups.google.co.uk/group/mic...510f5a2eb73851

HTH,

Chris

--
Blog at:
http://spaces.msn.com/members/cwebbbi/


"Ronna" wrote:

Using parent child dimension, non-leaf data hidden, No All Level, for one
dimension allows me to properly load aggregate data but when I introduce a
second dimension with the same properties the result is double counting of
the aggregate item (i.e. roll-up is occuring on the aggregate items for the
new dimension).
Is there a work-around to achieve this?
I have a small illustrative example mdb source and cab if required.

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.