Consolidations working oddly
Posted: Fri Oct 09, 2015 2:30 pm
This is REALLY bizarre and want to know if anyone has seen this. We have a cube that within a particular view, certain accounts of the accounts dimension, but not the majority, are displaying a doubled up value of their component elements within their respective consolidation. Higher level consolidations reflect the incorrect total as well. Now here is the fun part. Change the view by selecting one of the offending accounts and the problem goes away. If we add to the ORG dimension subset the next level ORG consolidation (01.XXX) like:
01.XXX
--01.XXX.001
--01.XXX.002
Then the correct amounts are displayed.
Only certain accounts are affected. The affected accounts are all natural accounts (NNN-NNN-NNN).
There are two rules that use the ConsolidateChildren function, but they are conditional rules (see below) for memo accounts (FTEs, etc) to calculate averages. The conditional looks for the value of an attribute on the account dimensions and none of the affected accounts are set to have the rule applied.
Change any subset in the view on any dimension and the problem disappears. We have been unable to duplicate the problem in our DEV or UAT environments. We are bringing a copy of the PROD instance down to the UAT server to try and replicate the issue there.
Complete rule file on this cube:
If we can replicate the problem, we will remove the rule file first. Otherwise, has anyone seen this type of behavior before?
01.XXX
--01.XXX.001
--01.XXX.002
Then the correct amounts are displayed.
Only certain accounts are affected. The affected accounts are all natural accounts (NNN-NNN-NNN).
There are two rules that use the ConsolidateChildren function, but they are conditional rules (see below) for memo accounts (FTEs, etc) to calculate averages. The conditional looks for the value of an attribute on the account dimensions and none of the affected accounts are set to have the rule applied.
Change any subset in the view on any dimension and the problem disappears. We have been unable to duplicate the problem in our DEV or UAT environments. We are bringing a copy of the PROD instance down to the UAT server to try and replicate the issue there.
Complete rule file on this cube:
Code: Select all
#Region System
SKIPCHECK;
FEEDSTRINGS;
#EndRegion
# Calculates the CY element as the average value of a Memo Account where MemoAccountFlag = 3 for
['Current - Yr X', {'Plan Summary', 'Final'}, 'CY'] = C: IF(ATTRN('Accounts_Forecast', !Accounts_Forecast, 'MemoAccountFlag') = 3
, ConsolidateChildren('Fcst - Periods') \ ELCOMPN('Fcst - Periods', !Fcst - Periods)
, CONTINUE);
# Calculates the Total Variances of Memo accounts Variances from the Previous Plan.
['Current - Yr X', {'Plan Summary', 'Final'}, 'VarianceFromPreviousPlan'] = C: IF(ATTRN('Accounts_Forecast', !Accounts_Forecast, 'MemoAccountFlag') = 3
, ConsolidateChildren('Fcst - Periods')
, CONTINUE);
# Retrieves the total adjustments for the account, org, and period from Fcst - Adjustment Details. Feed from Fcst - Adjustment Details:Adjustment Amount.
['Current - Yr X', 'Adjustment'] = N: DB('Fcst - Adjustment Details', !Versions, !Fcst - Periods, !Accounts_Forecast, !Organization, 'Total', 'Adjustment Amount');
FEEDERS;
### External Feeders
# Fcst - Adjustment Details.
['Current - Yr X', 'Plan Summary'] => DB('Fcst - Adjustment Details', !Versions, !Fcst - Periods, !Accounts_Forecast, !Organization, '1', 'Baseline Number');