
Does anyone of you use an automated way of checking double countings in TM1 dimensions?
The thing is, if N-type or C-type elements are added twice to other consolidations, the consolidated values will be wrong.
In the absence of correct results outside of TM1 with which to reconcile, we will need to review the dimension elements and dimension structures ourselves.
For large dimensions with lots of consolidations and leaf level elements (like Accounts, Cost Centers, Employees, Projects, ...) this can be a very tedious task.
Every once in a while I receive files from customers that face such issue. I think that I could benefit from a generic routine here.
Potentially every consolidation could be flawed, so we need a generic way of testing this.
For example, this structure could lead to double countings:
Σ Business Unit
╠ Σ Business Centre1
║ ╠ n Employee 1
║ ╠ n Employee 2
║ ╚ n L0_Business Centre1
╠ Σ Business Centre2
║ ╠ n Employee 3
║ ╠ n Employee 4
║ ╚ n L0_Business Centre2
╚ n L0_Business Centre2
... since "L0_Business Centre2" is part of 2 consolidations.
But not only at the top level element in the dimension could we have double countings, it can also appear at lower consolidations in the dimension.
Back in April, I wrote a few simple loops for an article on my personal website on TM1. The code creates a text file with all dimension elements that have more than 1 parent.
This condition of multiple parents is necessary but not sufficient to have double countings:
for example, if the parents are in parallel hierarchies of the dimension.
I started to write Turbo Integrator processes to check for double countings. By doing that, I quickly realized that it isn't that simple at all...
Every numeric element could in theory cause a double counting situation in every consolidation.
By undertaking the exercise, in fact I noticed that I need to generate each unique path from an element to any of the consolidations.
If there is more than 1 such path, we have a double counting situation. In the end I succeeded creating the TI code, but I wanted to reach out and see if this is something important to you and what you use to trace down the problems.
Please note that for now:
- I am aware of the fact that sometimes elements will appear twice in dimension, which is intended AND useful. This might be the case when we 'play around' with the element weights (see below)
- I make abstraction of element weights. A weighting of -1 or 0 will still be marked as a double counting.
Best regards,
Wim