Using Attribute instead of repeating rule
Posted: Fri Nov 11, 2011 9:31 am
I have this rule --> [{'Direct','Indirect','Staff'}, '2011'] = ['2011 AP 12'] ;
Quite simply it says that the consolidation YEAR for Direct, Indirect, and Staff should equal the child 2011 AP 12. The rule works fine, therefore the number shown in the 2011 consolidation is the same as the number in AP12 2011.
I don't want to write this rule again for each year in my time dimension and thought I could use an attribute to get around this. Can anyone let me know if a) this is possible, and, b) what the code may look like?
Thanks
Quite simply it says that the consolidation YEAR for Direct, Indirect, and Staff should equal the child 2011 AP 12. The rule works fine, therefore the number shown in the 2011 consolidation is the same as the number in AP12 2011.
I don't want to write this rule again for each year in my time dimension and thought I could use an attribute to get around this. Can anyone let me know if a) this is possible, and, b) what the code may look like?
Thanks