ASO Custom Calculation Issue
Hi
I'm facing issue with ASO custom calculation. I'm trying to load number for same fact (FACT-A) from calculated member (INRCALC) to a stored member (INR).
At first , all calculation looks fine because it tallies at top level when drilled down, there are mismatches within member hierarchies.
Example
DIM 1 | INRCALC | INR |
---|---|---|
Top level | 100 | 100 |
A | 20 | 35 |
B | 30 | 10 |
C | 15 | 20 |
D | 25 | 5 |
E | 10 | 30 |
I've created allocation script as follows :
execute allocation process on database app.db with
POV "Crossjoin( Crossjoin(Descendants([Dim1], [Dim1].Levels(0)),Crossjoin(Descendants([Dim2], [Dim2].Levels(0)) ,*Crossjoin(Descendants([Dim3], [Dim3].Levels(0)) ,Crossjoin(Descendants([Entity], [Entity].Levels(0)) ,Crossjoin(Descendants([Product], [Product].Levels(0)),Crossjoin(Descendants([Dim4], [Dim4].Levels(0)), Crossjoin({[Actual]},Crossjoin(Descendants(Dim5, Dim5.Levels(0)),Crossjoin(Descendants([Fail Code], [Dim5].Levels(0)),Descendants([Dim6], [Dim6].Levels(0)))))))))))"