获取在计算、转换或合并过程中要处理的数据单元,并以指定的顺序对数据排序。您可以在下列类型的规则中使用此函数:
计算
转换
合并
语法
HS.OpenDataUnitSorted(POVExpression, <dimension to be sorted>, Ascending or Descending)
其中 POVExpression 是 POV 字符串,<要进行排序的维> 是维名称字符串,只能是下列六个维中的一个:
"Account" 或 "A"、"ICP" 或 "I"、"Custom1" 或 "C1"、"Custom2" 或 "C2"、"Custom3" 或 "C3" 或者 "Custom4" 或 "C4"。必须指定下列维中的一个:Account、ICP、Custom1、Custom2、Custom3 和 Custom4。
第三个参数是字符串值("Ascending" 或 "A”,或者是 "Descending" 或 "D”)。
示例
Set DataUnit= HS.OpenDataUnitSorted("S#Actual.E#Group1","C1","Ascending")