NValue is a TM1 reserved local variable. We don’t need to define this variable to use it in the TM1 script. However, we can only use this variable when the DatasourceType is cube view and the current cell value is numeric.