Feeders not working - forcing calculation to be zero
Posted: Tue Jan 29, 2013 4:53 pm
hi,
I am facing a strange issue, the feeders are not being calculated unless i am hard-coding a dimension element name.Here's the detail:
Rule:
['Actual PY']=N:DB('PSP',!PSP Provider,!Domain,'Actual',ATTRS('Time',!Time,'PY'),!PSP Accounts,!Measure PSP);
--The rule is basically assigning value of element "Actual" from previous year to element "Actual PY" of dimension "scenario"
--Time dimension has attribute PY which keeps corresponding Previous year's month, to say the element "Jan 13 will have PY value Jan 12.
Feeders
I have now written a Feeder as below
['Actual'] => DB('PSP',!PSP Provider,!Domain,'Actual PY',ATTRS('Time',!Time,'PY'),!PSP Accounts,!Measure PSP); --> this does not work
but the above feeder does not populate data but when I hard code time dimension element name ( as shown below) then it shows the value.
['Actual'] => DB('PSP',!PSP Provider,!Domain,'Actual PY','Feb 13',!PSP Accounts,!Measure PSP); -- this works
Can anyone please help me find what am I doing wrong here?
I am facing a strange issue, the feeders are not being calculated unless i am hard-coding a dimension element name.Here's the detail:
Rule:
['Actual PY']=N:DB('PSP',!PSP Provider,!Domain,'Actual',ATTRS('Time',!Time,'PY'),!PSP Accounts,!Measure PSP);
--The rule is basically assigning value of element "Actual" from previous year to element "Actual PY" of dimension "scenario"
--Time dimension has attribute PY which keeps corresponding Previous year's month, to say the element "Jan 13 will have PY value Jan 12.
Feeders
I have now written a Feeder as below
['Actual'] => DB('PSP',!PSP Provider,!Domain,'Actual PY',ATTRS('Time',!Time,'PY'),!PSP Accounts,!Measure PSP); --> this does not work
but the above feeder does not populate data but when I hard code time dimension element name ( as shown below) then it shows the value.
['Actual'] => DB('PSP',!PSP Provider,!Domain,'Actual PY','Feb 13',!PSP Accounts,!Measure PSP); -- this works
Can anyone please help me find what am I doing wrong here?