Hi,
we have three elements
Elements Weight
Actual 1
PY Actual -1
Actual vs PY Actual Actual+PY Actual(Calculated)
In this PY Actul data derived from rule to take Actual data of previous year
problem:
Actual vs PY Actual value is not calculating properly, it only showing Actual value it means rule derived value is not considering in the calculation.
Kindly provide your views
Calculation is not working properly
- Michel Zijlema
- Site Admin
- Posts: 713
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Calculation is not working properly
I moved the topic from the Enhancements subforum to the TM1 forum as this has nothing to do with enhancements - please post in the appropriate forum.
Looking at the issue this sounds like a feeder issue. Make sure the PY Actual rule is properly fed.
Michel
Looking at the issue this sounds like a feeder issue. Make sure the PY Actual rule is properly fed.
Michel
-
- Posts: 6
- Joined: Sun Feb 19, 2012 8:05 pm
- OLAP Product: TM1
- Version: 9.5.1
- Excel Version: 2003
Re: Calculation is not working properly
Hi,
Thanks for reply,I have used the feeder also but still its not working ,please find below
Rule
['PY_ACTUAL'] =
DB('Cube',ATTRS('xx_Year',!xx_Year, 'Prior'),'ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
Feeders
['ACTUAL'] => DB('cube',ATTRS('xx_Year',!xx_Year,'Prior'),'PY_ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
Thanks for reply,I have used the feeder also but still its not working ,please find below
Rule
['PY_ACTUAL'] =
DB('Cube',ATTRS('xx_Year',!xx_Year, 'Prior'),'ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
Feeders
['ACTUAL'] => DB('cube',ATTRS('xx_Year',!xx_Year,'Prior'),'PY_ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
- Michel Zijlema
- Site Admin
- Posts: 713
- Joined: Wed May 14, 2008 5:22 am
- OLAP Product: TM1, PALO
- Version: both 2.5 and higher
- Excel Version: 2003-2007-2010
- Location: Netherlands
- Contact:
Re: Calculation is not working properly
Hi,bsjain wrote:Hi,
Thanks for reply,I have used the feeder also but still its not working ,please find below
Rule
['PY_ACTUAL'] =
DB('Cube',ATTRS('xx_Year',!xx_Year, 'Prior'),'ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
Feeders
['ACTUAL'] => DB('cube',ATTRS('xx_Year',!xx_Year,'Prior'),'PY_ACTUAL',!xx_Month,!xx_Cost_Center,!xx_PnL_Account);
Two remarks on your rule/feeder:
The Feeder is not correct: the PY_ACTUAL rule is pulling from prior year, the feeder therefore should feed in the opposite direction - so should feed next year, not prior year.
Try restricting your rule to N level by prefixing the rule with N:.
Michel