Interface VarianceMeasureProperty

计算成员与另外一个指定成员之间的度量差异

interface VarianceMeasureProperty {
    __id__?: string;
    absBaseValue?: boolean;
    aggregator?: string;
    asPercentage?: boolean;
    asZero?: boolean;
    baseDimension: Dimension;
    calculationType: CalculationType;
    caption?: string;
    compareA: CompareToType;
    dataType?: string;
    description?: string;
    dimension?: string;
    directDivide?: boolean;
    divideBy?: "A" | "B";
    entity?: string;
    formatter?: string;
    measure: Measure;
    memberCaption?: string;
    members?: Member[];
    name: string;
    role?: AggregationRole;
    rt?: boolean;
    semantic?: Semantics;
    semantics?: {
        formatter?: string;
        semantic?: Semantics;
    };
    text?: string | EntityProperty;
    toB: CompareToType;
    uniqueName?: string;
    unit?: string | EntityProperty;
    visible?: boolean;
}

Hierarchy

Properties

__id__?: string
absBaseValue?: boolean

对分母取绝对值 (A - B) / abs(B)

aggregator?: string
asPercentage?: boolean

是否为比率

asZero?: boolean

Set No data as Zero

baseDimension: Dimension
calculationType: CalculationType
caption?: string

Caption of dimension

compareA: CompareToType
dataType?: string
description?: string
dimension?: string
directDivide?: boolean

直接相除 A / B

divideBy?: "A" | "B"

A: (A - B) / A B: (A - B) / B

entity?: string

所属的 Entity

formatter?: string

Deprecated

use semantics

measure: Measure

要比较的度量

memberCaption?: string

The caption field of members in this property

members?: Member[]

如当 Dimension = "Measures" 时可以设置 members 为 ["Gross Margin", "Discount"] 等度量字段名 也可以为 dimension 设置固定的成员

name: string

Property role

rt?: boolean

Property is in Runtime only, not in Semantic Model

semantic?: Semantics

Deprecated

use semantics

semantics?: {
    formatter?: string;
    semantic?: Semantics;
}

Type declaration

  • Optional formatter?: string
  • Optional semantic?: Semantics
text?: string | EntityProperty

Deprecated

use memberCaption

uniqueName?: string
unit?: string | EntityProperty
visible?: boolean

Visible Property

Generated using TypeDoc