TM1 Function for TI, ​​HierarchySubsetAttrPutS

Writes a string value to a subset’s attribute or set of elements in a hierarchy for a dimension.

What is the HierarchySubsetAttrPutS function?

HierarchySubsetAttrPutS writes a string value to a subset’s attribute or set of elements in a hierarchy for a dimension.

Where can the HierarchySubsetAttrPutS function be used?

TurboIntegrator

What is the syntax for HierarchySubsetAttrPutS?

HierarchySubsetAttrPutS(String, DimName, HierName, SubName, AttrName, [LangLocaleCode] )​;

​StringVal = String Value​
DimName = Dimension Name​
HierName = Hierarchy Name​
SubName = Subset name​
AttrName = Existing Subset Attribute Name​
LangLocaleCode = Local Language Code

A demonstration on how to use HierarchySubsetAttrPutS

1. Add Branch to the Office attribute from the Benelux subset that’s associated with the Western Europe hierarchy from the Sales Region dimension.​
2. Add Branche to the Office attribute from the Benelux subset that’s associated with the Western Europe hierarchy from the Sales Region dimension, where the language local is fr.