Quantcast
Channel: SQL Server Analysis Services Forum
Viewing all articles
Browse latest Browse all 2472

Incorrect summation of aggregations in user hierarchy

$
0
0

I am getting some invalid summation results from a processed cube:

In the attribute hierarchy it displays, for a given filter:

ALL  12  
A    1
B    2
C    3
D    4

As 1 + 2 + 3 + 4 != 12 this is a surprise!

The setup is as follows:

  • The measure is a standard measure sourced directly from the fact table
  • There are no default members on any dimension attributes
  • The cube has been processfulled from a fresh deployment
  • I have cleared the storage engine cache
  • we do have some non-materialised reference dimension in the cube, but they are not used in any aggregations. This was deemed a problem from the following blogs: explanation-behind-the-incorrect-query-result and ssas-reference-materialized-dimension-might-produce-incorrect-results
  • We weren't able to capture a profiler trace of the events unfortunately
  • It wasn't restricted to a particular machine, everyone got the wrong result

We have managed to 'fix' the issue by restarting Analysis Services, so that the All members returns 10 instead of 12, but I would like to get to the bottom of it. Any one had any experience of this issue and what was the cause?

I was wondering whether it was potentially related to file caching on the OS?

 

Viewing all articles
Browse latest Browse all 2472

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>