dbTalk Databases Forums  

Cube doesn't give expected sum total

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


Discuss Cube doesn't give expected sum total in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike van der Niet
 
Posts: n/a

Default Cube doesn't give expected sum total - 03-14-2005 , 02:17 AM






Hello all,

Following is the case.
I have a cube on client level filled with currect and past clients.
For each client i have a nr_of_client value of 1 (current) or 0 (past).

If I do a select sum( nr_of_client ) in QA on the time partitioned fact
table I get a total of 9457457.
But when I process the cube I get a total of 9406465 in AS.
And yes i have all dimension set to "All" except for the time dimension of
course.

The entire fact table doesn't allow nulls.

Does anybody have an explanation and more importantly a solution?

Reply With Quote
  #2  
Old   
Ohjoo Kwon
 
Posts: n/a

Default Re: Cube doesn't give expected sum total - 03-14-2005 , 04:16 AM






You check the generated SQL statements during cube processing in QA.

Ohjoo Kwon


"Mike van der Niet" <MikevanderNiet (AT) discussions (DOT) microsoft.com> wrote in
message news:B4E5FF1D-1541-4C5A-865D-5E08CECB00EE (AT) microsoft (DOT) com...
Quote:
Hello all,

Following is the case.
I have a cube on client level filled with currect and past clients.
For each client i have a nr_of_client value of 1 (current) or 0 (past).

If I do a select sum( nr_of_client ) in QA on the time partitioned fact
table I get a total of 9457457.
But when I process the cube I get a total of 9406465 in AS.
And yes i have all dimension set to "All" except for the time dimension of
course.

The entire fact table doesn't allow nulls.

Does anybody have an explanation and more importantly a solution?



Reply With Quote
  #3  
Old   
Tim Harris
 
Posts: n/a

Default Re: Cube doesn't give expected sum total - 03-14-2005 , 10:18 PM



When you get the 9457457 result are you using the same joins to the
dimension tables that you use when processing the cube? It sounds like
you have data in the fact table that isn't in one of your dimension
tables.


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.