Attribute Trouble with rules
Posted: Wed Sep 15, 2010 3:41 pm
Hello,
I made a rule that creates an attribute Month and Year that also changes the alias for exchange rate factors. This Month and Year combination goes and finds different exchange rates for my cubes, so the user only has to select what fx scenario he wants.
Example:
---This Month---
Scenario 1 = Sep 2010 = using NOW
Scenario 2 = Aug 2010 = using index and some rules that are updated on a cube and attributes cube
...
Scenario n
---Next Month---
Scenario 1 = Oct 2010 = using Now on October
Scenario 2 = Sep 2010
---
Scenario n
I was testing it and works wonderful doing complex lookups in seconds, but when I tested changing the month on the computer (windows clock) where the tm1 server is mounted, only the alias is changed, leaving the exchange calculus the same. (even the rules tracer marks the correct month and exchenge rate on the rate cube) When I Unload and make a new view the cube works fine.
I believe that TM1 is not detecting this "month changes with attributes" so recalc do nothing. Is like if it needed something like a "Security Refresh" to make changes happen. The only solution I thought was to unload the cubes each night with a TI process. so with a recalc the cube is forced to recognize the new month, of course in case a user is connected at 12:00 am October 1st.
Any Ideas? English is not my first language, if something is unclear please tell me, so I can explain it.
Thanks
I made a rule that creates an attribute Month and Year that also changes the alias for exchange rate factors. This Month and Year combination goes and finds different exchange rates for my cubes, so the user only has to select what fx scenario he wants.
Example:
---This Month---
Scenario 1 = Sep 2010 = using NOW
Scenario 2 = Aug 2010 = using index and some rules that are updated on a cube and attributes cube
...
Scenario n
---Next Month---
Scenario 1 = Oct 2010 = using Now on October
Scenario 2 = Sep 2010
---
Scenario n
I was testing it and works wonderful doing complex lookups in seconds, but when I tested changing the month on the computer (windows clock) where the tm1 server is mounted, only the alias is changed, leaving the exchange calculus the same. (even the rules tracer marks the correct month and exchenge rate on the rate cube) When I Unload and make a new view the cube works fine.
I believe that TM1 is not detecting this "month changes with attributes" so recalc do nothing. Is like if it needed something like a "Security Refresh" to make changes happen. The only solution I thought was to unload the cubes each night with a TI process. so with a recalc the cube is forced to recognize the new month, of course in case a user is connected at 12:00 am October 1st.
Any Ideas? English is not my first language, if something is unclear please tell me, so I can explain it.
Thanks