Interface RestrictedMeasureProperty

计算字段

interface RestrictedMeasureProperty {
    __id__?: string;
    aggregator?: string;
    allSelectionContext?: boolean;
    calculationType: CalculationType;
    caption?: string;
    constantDimensions?: Dimension[];
    dataType?: string;
    description?: string;
    dimension?: string;
    dimensions: Dimension[];
    enableConstantSelection?: boolean;
    entity?: string;
    formatter?: string;
    measure: string;
    memberCaption?: string;
    members?: Member[];
    name: string;
    role?: AggregationRole;
    rt?: boolean;
    semantic?: Semantics;
    semantics?: {
        formatter?: string;
        semantic?: Semantics;
    };
    slicers: ISlicer[];
    text?: string | EntityProperty;
    uniqueName?: string;
    unit?: string | EntityProperty;
    visible?: boolean;
}

Hierarchy

Properties

__id__?: string
aggregator?: string
allSelectionContext?: boolean

All Selection Context Dimensions

calculationType: CalculationType
caption?: string

Caption of dimension

constantDimensions?: Dimension[]

Constant Dimensions

dataType?: string
description?: string
dimension?: string
dimensions: Dimension[]

Deprecated

use slicers

enableConstantSelection?: boolean

Enable Constant Selection

entity?: string

所属的 Entity

formatter?: string

Deprecated

use semantics

measure: string

The measure name

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
slicers: ISlicer[]

The slicers to restrict measure

text?: string | EntityProperty

Deprecated

use memberCaption

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

Visible Property

Generated using TypeDoc