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, IMetricViewNamedObject, IMetricViewObject
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

The name of the measure, referenced in Metric View expressions as MEASURE(name)

public override 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

WindowPath(int)

public string WindowPath(int index)

Parameters

Type Name Description
int index

Returns

Type Description
string