CubeRuleSet function for IBM Planning Analytics (TM1)
CubeRuleSet returns all the rule lines within a cube rule as a single string.
Where can the CubeRuleSet function be used?
TurboIntegrator
Which TM1 Server version is the CubeRuleSet function available for?
Version 11 and 12
What is the syntax for CubeRuleSet?
CubeRuleSet(RuleName, RuleString)
- RuleName = Name of the rule with the directory, excluding .rux file extension. If this field is blank, a new rule is created.
- RuleString = The rule statements
Note:- Encase the whole string with a single quote
- Member references must be encased in a double single quote (e.g. ”Gross Margin”)
Relevant Functions
- CubeProcessFeeders = Re-processes feeders in the rule for a specified cube
- CubeRuleAppend = Appends a single line of text to a rule
- CubeRuleDestroy = Deletes the rule from a cube
- CubeRuleGet = retrieves all rule lines within a cube rule as a single string.
- CubeRuleSet = returns all the rule lines within a cube rule as a single string.
- DeleteAllPersistentFeeders = Deletes all persistent feeders on the TM1 Server
- ForceSkipCheck = Forces the view query to process only values in the cube, instead of going through every possible cell
- RuleLoadFromFile = Loads a text file that contains rules to a Cube
- RuleLoadFromFileEx = creates or overwrites a cube’s rule from a text file