I have a simple model:
datatypes of fact value:
SQL: numeric (34, 17)
tabular: val_fact: Decimal Number
The data is as follows:
In the dimension there are 906,499 rows. breakdown as follows
column_desc count(*)
NULL 346,288
A 47
B 560,164
Sum of facts by dim is as follows in SQL:
column_desc sum(f.val_fact) count(*)
A 22797975.60234741981400000 141
B -505752798136.03296564810300000 890,098
The problem is that in Excel via a Pivot I am getting inconsistent results. Sometimes column B is:
-505752798136.50800000 or -505752798136.03300000
If I refresh the pivot the value flips between the two values above! This is very strange so the aggregation is not consistent.
I'm using Excel 2007 SP3 and SQL Server 2012 SP 2 for SSAS tabular cube.
In SSMS via MDX the sum for B is -505752798135.508. The results are inconsistent.
To summarise for dim member B:
SQL: XXXXXXX.032965648103
Excel: XXXXXXX.033 or XXXXXXX.508
MDX: XXXXXXX.508
There is no issue with the aggregation for the Dim member A.
This is confusing for our users, who need the result to be consistent. Does anyone know why this would happen and what would be the fix?