Class CalculationGroupTable
Calculation Group Tables are special tables that only contain a single column
Inheritance
CalculationGroupTable
Assembly: TOMWrapper.dll
Syntax
public class CalculationGroupTable : Table, INotifyPropertyChanging, IComparable, IDescriptionObject, ILineageTagObject, IExtendedPropertyObject, ITabularPerspectiveObject, IHideableObject, ITranslatableObject, IAnnotationObject, ISynonymObject, IClonableObject, IDaxObject, IDaxDependantObject, IExpressionObject, ITabularNamedObject, ITabularObject, INotifyPropertyChanged, INamedObject, ITomErrorMessageObject
Properties
CalculationGroup
The Calculation Group object owned by this Calculation Group Table
Declaration
public CalculationGroup CalculationGroup { get; }
Property Value
CalculationGroupAnnotations
Annotations on the Calculation Group object.
Declaration
public AnnotationCollection CalculationGroupAnnotations { get; }
Property Value
CalculationGroupDescription
The description of the Calculation Group object.
Declaration
public string CalculationGroupDescription { get; set; }
Property Value
CalculationGroupPrecedence
When multiple Calculation Groups are used as a filter condition, this property determines the order of evaluation.
Declaration
public int CalculationGroupPrecedence { get; set; }
Property Value
CalculationItems
Declaration
public CalculationItemCollection CalculationItems { get; }
Property Value
ObjectType
The type of this object (Folder, Measure, Table, etc.).
Declaration
public override ObjectType ObjectType { get; }
Property Value
Overrides
Reordering
Set to true, when multiple calculation items are going to be re-ordered as one action.
Declaration
[Browsable(false)]
public bool Reordering { get; }
Property Value
Methods
AddCalculationItem(string, string)
Adds a calculation item with the given name and expression to the calculation group table.
Declaration
public CalculationItem AddCalculationItem(string name = null, string expression = null)
Parameters
Returns
CompactLevelOrdinals()
Declaration
public void CompactLevelOrdinals()
CreateNew(Model, string)
Declaration
public static CalculationGroupTable CreateNew(Model parent, string name = null)
Parameters
Returns
FixItemOrder(CalculationItem, int)
Declaration
public void FixItemOrder(CalculationItem item, int newOrdinal)
Parameters
Init()
Derived members should override this method to instantiate child objects
Declaration
protected override void Init()
Overrides
SetItemOrder(IList<CalculationItem>)
Declaration
public void SetItemOrder(IList<CalculationItem> order)
Parameters
Implements
Extension Methods