Interface MeasureControlProperty

计算字段

interface MeasureControlProperty {
    __id__?: string;
    aggregator?: string;
    allMeasures: boolean;
    availableMembers: IMember[];
    calculationType: CalculationType;
    caption?: string;
    dataType?: string;
    description?: string;
    dimension?: string;
    displayBehaviour?: DisplayBehaviour;
    entity?: string;
    formatter?: string;
    memberCaption?: string;
    members?: Member[];
    name: string;
    role?: AggregationRole;
    rt?: boolean;
    semantic?: Semantics;
    semantics?: {
        formatter?: string;
        semantic?: Semantics;
    };
    text?: string | EntityProperty;
    uniqueName?: string;
    unit?: string | EntityProperty;
    value: PrimitiveType;
    visible?: boolean;
}

Hierarchy

Properties

__id__?: string
aggregator?: string
allMeasures: boolean
availableMembers: IMember[]
calculationType: CalculationType
caption?: string

Caption of dimension

dataType?: string
description?: string
dimension?: string
displayBehaviour?: DisplayBehaviour
entity?: string

所属的 Entity

formatter?: string

Deprecated

use semantics

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