Exploring TM1 - a Chartertech Company
Search
Close this search box.

Commenting Out Rule and TI Lines

Every wondered how to comment out a Rule or Turbo Integrator process in TM1? Well today I needed a method of commenting out text from a rule and, although I have done it hundreds of times, a brain freeze (call it memory degradation) hit. Anyway a quick check on the internet and I then had one of those “doh” moments.

How to Comment Out a Line of Text from a Rule or Process

To comment out a line of code in a tm1 rule or TI process use a # (a hash ora pound sign if you’re from North America) at the beginning of your text and bingo, it is not assessed in either the rule or process.

And in case you’re reading this wondering what do I mean by comment out?  Well, in normal speak that just means that you are going to make that line of text not count when the rule or TI process is run.

Why Would I Remove Text from a Rule or Process?

One of the little things that make a tile or TI so much more readable is having annotation on the rule or process itself, explaining in plain English what the following bit of code does. Using a # is a fantastic way of adding this sort of inline annotation or documentation to your TM1 rules or TI processes.

  • This field is for validation purposes and should be left unchanged.

Post Sections

Related Posts

John Vaughan

John Vaughan

John is a CPA, MBA and has been a Performance Management consultant for over 25 years. He is the founder of ExploringTM1 and highly regarded for his experience combining financial management with corporate planning, reporting and analysis. He lives in Sydney with his wife, two of his three children, their cat, Freckles, a bunch of chooks and some fish. John is a sports nut, who played rugby until he was 40, started playing football at 54 and loves being outdoors.

Leave a Reply

Your email address will not be published. Required fields are marked *

Log In