I recently needed to check some data I was loading via a Turbo Integrator process in TM1 for Null values. I thought there’d be something like an IsNull (like in Excel), but found no direct TI command to check values being loaded if they are Null or not.
The Solution for Null Values in a TI
As you would know, TM1 only stores values as String or Numeric.
If it is numeric, the value loaded can’t be empty. In this case you would check for a zero value, rather than a null. Thus your if statement would be something like IF ( vValue = 0); blah, blah, blah.
If it is a string (or text) field, then you would need to check for it not equaling a pair of empty single brackets. The if here would then be IF ( sString @ ”); blah, blah, blah.
Of course, the better way to do all of this is to remove the nulls before you bring the data into TM1. Then the data loaded into TM1 is clean and ready to use.