2.2.5.26 Expression Object

The Expression object represents a named expression that can be used by one or more partitions. It is a child of a Model object and requires compatibility level 1400 or higher.<75>

The Expression object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

ModelID

unsignedLong

An ID-based reference to a Model object.

Name

string

The name of the object.

Description

string

The description of the object.

Kind

enumeration

The kind of the expression. The possible values are as follows:

Expression

string

The descriptive text of the expression.

ModifiedTime

dateTime

The time that the object was last modified.

QueryGroupID<76>

unsignedLong

An ID-based reference to a QueryGroup object.

Compatibility level 1500 or higher is required.

ParameterValuesColumnID<77>

unsignedLong

An ID-based reference to a Column object.

Compatibility level 1600 or higher is required.

MAttributes<78>

string

A set of optional properties that can be used to define the literal attributes on the section members of the M queries.

Compatibility level 1600 or higher is required.

LineageTag<79>

string

An optional tag that can be used to define the lineage of an expression across different versions of a model.

Compatibility level 1600 or higher is required.

SourceLineageTag<80>

string

An optional tag that can be used to define the lineage of a referenced expression across different versions of a model. As opposed to LineageTag, SourceLineageTag can be used to define the lineage of a referenced expression rather than an expression itself. SourceLineageTag is useful when a model references other models by using a Direct Query connection.

Compatibility level 1600 or higher is required.