TM1 Function for TI, RuleLoadFromFile

Loads a text file that contain rules to a Cube

Available In

TurboIntegrator

Definition

RuleLoadFromFile loads a text file that contain rules to a Cube

Syntax

RuleLoadFromFile(CubeNameTextFile);

CubeName = Name of the Cube. 

TextFile = Full file path & file name including its extension. 

 **If we don’t specify full path of the file, then function looks for the file in the TM1 data directory. And if we don’t specify the file extension then function looks for the .rux extension. 

Video Demo

Use RuleLoadFromFile to load a rule from a text file to the Product Scorecard cube.