TI for clearing zeroes in cells

Post Reply
User avatar
Ajay
Regular Participant
Posts: 183
Joined: Wed May 14, 2008 8:27 am
OLAP Product: TM1
Version: 10.2.0, PA 2.0.9
Excel Version: 2016
Location: London

TI for clearing zeroes in cells

Post by Ajay »

Hi All

I'm looking to see if anyone could recommend some TI which runs nightly and simply removes cells with an inputted zero.

I'm investigating whether blank cells (ie those never been used) and zero cells (those where a number may have been sent) have an impact on the performance of the cube.

I'm about to restructure part of a cube and understand whether there maybe an impact would be useful before i do a single thing

Thanks
Ajay
Wim Gielis
MVP
Posts: 3241
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI for clearing zeroes in cells

Post by Wim Gielis »

Ajay

Both empty cells and cells with a 0 are the same for TM1. Moreover, they do not exist as such.

If you right-click the cube, you can unload it from memory. Maybe that can be interesting at times.

I really do not see what you mean, frankly speaking.

Wigi
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Alan Kirk
Site Admin
Posts: 6667
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: TI for clearing zeroes in cells

Post by Alan Kirk »

Wim Gielis wrote:Both empty cells and cells with a 0 are the same for TM1.
Not entirely; if that were the case, the Undefvals rules statement wouldn't work. However if Undefvals isn't used, I'm not sure whether the server keeps track of the difference. (Indeed you're probably right that it doesn't.) I suspect that Undefvals may have been what Ajay was thinking of when he posted the question.

Unless this has been changed recently the server won't release the memory even after the values have been zeroed out but will keep it in "garbage" to be reused later. Wim's suggestion of unloading the cube will set it back to its original state when it's reloaded (assuming that it can be unloaded; some rules and feeders will prevent that which is also why such cubes can't be "load on demand"), though I doubt that any performance gain would come from that. It'd certainly be advisable to reload it before anyone requests data from it to prevent them from experiencing the time lag while the cube reloads. More importantly, all cached calculated values would be dumped, which would also be a problem if the server itself was restarted.

In short, I think that Wim's right; this avenue is most likely to be a "dead end" performance-wise.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Post Reply