The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardSpecialValues Class

Provides access to dashboard special values.

Declaration

declare class DashboardSpecialValues

Remarks

Fields exposed by the DashboardSpecialValues class are introduced to identify various special values (such as null or Others values) that can be displayed within the dashboard. For instance, these values can be returned when performing the following actions.

Properties

ErrorValue Property

Represents an error value (for instance, this can be a calculated field value that cannot be evaluated).

Declaration

static readonly ErrorValue: string

Property Value

Type Description
string

NullValue Property

Represents a null value.

Declaration

static readonly NullValue: string

Property Value

Type Description
string

OlapNullValue Property

Represents a null value in OLAP mode.

Declaration

static readonly OlapNullValue: string

Property Value

Type Description
string

OthersValue Property

Represents an Others value.

Declaration

static readonly OthersValue: string

Property Value

Type Description
string

Methods

IsErrorValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.ErrorValue.

Declaration

static IsErrorValue(value: any): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.ErrorValue; otherwise, false.

IsNullValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.NullValue.

Declaration

static IsNullValue(value: any): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.NullValue; otherwise, false.

IsOlapNullValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.OlapNullValue.

Declaration

static IsOlapNullValue(value: any): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.OlapNullValue; otherwise, false.

IsOthersValue(value) Method

Returns whether the specified value is an DashboardSpecialValues.OthersValue.

Declaration

static IsOthersValue(value: any): boolean

Parameters

Name Type Description
value any

The specified value.

Returns

Type Description
boolean

true, if the specified value is an DashboardSpecialValues.OthersValue; otherwise, false.