Solved

aggregated numbers do not match between sql 2005 cube and sql 2008 cube

Posted on 2015-02-12
2
82 Views
Last Modified: 2015-02-18
I took a backup of the relational database from sql 2005 and restored it to sql 2008 r2.

Now I created a cube on sql 2008 r2 and created same measures and dimensions as they were on the cube on sql 2005.

When I browse the two cubes using the same dimension and measures, I get different numbers on the two cubes.

When I run a sql query to calculate sum on a fact table on both databases, the results match perfectly and they match to the results on sql2005 cube, but sql 2008 R2 cube numbers are way low.

There are no calculations set for this measure on any of the cubes.



I have checked on both cubes. The source, AggregateFunction, DataType, FormatString etc are the same for the measure on bot cubes.

What else can be causing this difference in numbers? What do I need to check?



Thanks.
0
Comment
Question by:patd1
2 Comments
 
LVL 13

Accepted Solution

by:
LIONKING earned 500 total points
ID: 40607892
Check the security settings of the account you're using to browse the cube. Also, check that all the dimensions that exist in the first cube, exist in your 2008 cube + that they all contain the same members (i.e. their source tables are identical and they are fully processed with all the members).

If you really want to know what's wrong, you can remove all the dimensions, leave only one, deploy and test. If the numbers are good, you know that the problem is with one of the dimensions, so start adding them gradually until you find the one that's causing the issue.
0
 

Author Comment

by:patd1
ID: 40617188
it was not the permissions. I deleted all roles and processed and browsed again, with no improvement. I still have to delete dimensions one by one and process each time to see if that helps identify the problem, but that is a lot of work. I think there should be a better way.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question