You got something wrong in your description. SCOPE statements are unaware of measure group partitioning, so your cube actually runs on some logic different from what you described.
Also, you haven't really provided any proof that the source is in fact correct. You might actually run into intermittent problems with the source for all you've posted so far.
It should be easy to check whether the data is actually duplicating by examining the sizes of partition files.
SSAS Cube - Data Incorrect when source is correct
We have a cube which currently reads data from two separate partitions for the same measure group. By separate partitions, I mean coming from different tables. Then we have scope statements, which decides at which hierarchy level, what we show in our cube...i.e at certain level, cube shows numbers from Table_1 and at higher levels, cube shows numbers from Table_B. What is going on is, at random times after processing these partitions, I get correct number and at other times some numbers are doubling . Any reason what maybe going on? I have checked the source queries and they look good. The dimension tables look good. For example yesterday the data for July was wrong, and today the data for August is wrong.
And then on re-processing it, the data gets fixed.
It seems like for whatever reasons , we are appending to the existing data instead of replacing.
Our source is Google Big Query
Driver is CDATA Driver
The partitions are processed in batch for 3 months at a time. I.e. each batch has six partitions each month has 2 partitions, one for class and another for vendor.
Class is the one which goes bad from time to time.
2 answers
Sort by: Most helpful
-
Alexei Stoyanovsky 3,416 Reputation points
2022-09-16T11:26:15.107+00:00 -
Ayush Jha 1 Reputation point
2022-09-16T17:06:57.81+00:00 Hello Alexei,
The source is correct because I captured the query at the time the cube was processed.
The query didn't result in duplicates which we noticed in the cube.
I didnt' see partition files.All I see is the file for the measure group with the names with suffix ".map", ".hdr" and ".data' files.
Is there a place where we get the files at partition level?
Thanks