Table of Contents

Class Measure

Inheritance
Measure
Implements
Inherited Members
Namespace
TabularEditor.SemanticBridge.Platforms.Databricks.MetricView
Assembly
SemanticBridge.dll

Represents a measure definition in a Databricks Metric View

public class Measure : MetricViewObjectBase, IMetricViewObject, IMetricViewNamedObject
Extension Methods

Properties

Comment

Description of the measure. Requires version 1.1+.

[MinVersion("1.1")]
public string? Comment { get; set; }

Property Value

Type Description
string

DisplayName

Human-readable display name. Requires version 1.1+.

[MinVersion("1.1")]
public string? DisplayName { get; set; }

Property Value

Type Description
string

Expr

Aggregate SQL expression that defines the measure

public required string Expr { get; set; }

Property Value

Type Description
string

Format

Display format specification. Requires version 1.1+.

[MinVersion("1.1")]
public Format? Format { get; set; }

Property Value

Type Description
Format

Name

public required string Name { get; set; }

Property Value

Type Description
string

Path

public override string Path { get; }

Property Value

Type Description
string

Synonyms

Alternative names for AI/search. Requires version 1.1+.

[MinVersion("1.1")]
public List<string>? Synonyms { get; set; }

Property Value

Type Description
List<string>

Window

Window specifications for windowed, cumulative, or semiadditive aggregations. Requires version 1.1+. This is an experimental feature.

[MinVersion("1.1")]
public List<Window>? Window { get; set; }

Property Value

Type Description
List<Window>

Methods

Delete()

Deletes this object from its parent collection. After deletion, the object becomes a zombie (IsDeleted=true, View=null).

public override void Delete()

Exceptions

InvalidOperationException

Thrown if the object is not attached to a View or is already deleted.

WindowPath(int)

public string WindowPath(int index)

Parameters

Type Name Description
int index

Returns

Type Description
string