Is there any trick in the rules editor or TM1, I can use to determine which of the Dimensions in the cube 'CSR Gross Margin' belongs to. Obviously there is a bit of common sense or scanning the dimension but I can't see an easy way to establish the dimension otherwise. (Could also write a TI proc that you pass arguments cube,element and then it would iterate through the dims of the cube and then search each dim, but I think that is overkill).
2. Logically feeders should immediately follow rules (except obviously when you have external feeders) but in TM1 it seems you have to have a feeders section and then it is difficult to see which feeders apply to which rules. I tried doing something like this...
Code: Select all
# (R1) - rule 1 NB you cant do inline comments
['% Gross Margin before Warranty'] = (['dimChartofAccounts':'Warranty'] + ['CSR Gross Margin'])\['Selling Price'];
# (R2)
feeders;
# (R1)
['CSR Gross Margin' ] => ['% Gross Margin before Warranty'];
['dimChartofAccounts':'Warranty'] => ['% Gross Margin before Warranty'];
# (R2)
As usual thank you to everyone for their answers and Thanks into particular for Alan who answered my earlier question about dimension sorting.