Page 1 of 1
Rule set value to zero
Posted: Tue Jun 08, 2021 9:22 am
by shane.james
Hi All
Needing some clarity here. I have had to take over some projects and on checking the rules I have seen on numerous occasions where there is a rule to set a value to zero (usually to ensure no one can capture a value in the cell). Now my understanding is that if that cell is not fed, then there is not a major issue, but if the cell is fed then there could be a huge overhead in terms of calculated cells having to be consolidated. Am I correct in saying that this is definitely not good practise to assign a zero value in a rule and to rather use different methods to ensure other values can't be in that cell.
I have always completely avoided assigning zero's unless absolutely necessary and only in small cubes. Just checking if my thinking here is right.
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 11:16 am
by Wim Gielis
I’m not sure if TM1 actually stores these feeders. Did you check this in the relevant }Stats cube ?
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 12:13 pm
by PavoGa
Feeders are independent of the value (or non-value) stored in the cell. Regardless of whether the cell is blank or zero, if it is fed, TM1 has to deal with the overhead slowing performance of the consolidations.
This is why feeder design is so important. There is nothing inherently wrong with storing the zeros as long as they are not fed. However, like you, I tend to avoid zeroes unless it is for the reason stated: to prevent user input for one reason or another and security management is not the best option. One additional bit of information is STET is supposed to perform slightly faster than storing a zero if the rule construct is a conditional, but you may already know that.
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 12:15 pm
by tomok
Fed cells are fed and take up memory, regardless of whether or not there is an actual value in the cube that has been fed. I am hesitant to declare it not to be best practice as there may be situations where it is the right answer. However, in most instances I would use STET instead of assigning a zero value unless the intent was truly to just lock a cell for input and I didn't feel like security was the right answer in the circumstance.
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 3:47 pm
by gtonkin
I tend to use the Global Security Overlays to block things that are not Group specific and cell security to open things that are Group specific and where input is expected.
If for example I do not want people to capture outside of my planning months on my rolling forecast scenario, I use the global overlay to block those areas first then worry about the planning periods and what is open or closed based on the Custodian's control.
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 4:09 pm
by Wim Gielis
You should just put it equal to zero but not feed the cells.
Re: Rule set value to zero
Posted: Tue Jun 08, 2021 5:25 pm
by paulsimon
Hi
As Wim says you should continue to use rules to set values to zero to prevent data entry, but you need to tune your feeders to avoid feeding them.
You can rely on security to prevent data entry. However, the issue there is that this will probably only block an end-user. It will not block an Admin user, or a TI process from writing to the cell. A rule setting the value to zero will, and if the business requirements are that no one should be able to enter a value into a particular combination then that is what the rules should do.
Regards
Paul Simon
Re: Rule set value to zero
Posted: Wed Jun 09, 2021 4:26 pm
by shane.james
Awesome. Thanks guys. Definitely confirmed my thinking. Will need to play around with the feeders in these models as the zero cells were fed