pub enum DaxExpressionKind {
Show 20 variants
Measure,
MeasureFormatString,
MeasureDetailRows,
KpiTarget,
KpiStatus,
KpiTrend,
CalculatedColumn,
CalculatedTable,
ChangeDetection,
TableDetailRows,
RlsFilter,
CalculationItem,
CalculationItemFormatString,
CalculationGroupNoSelection,
CalculationGroupNoSelectionFormatString,
CalculationGroupMultipleOrEmptySelection,
CalculationGroupMultipleOrEmptySelectionFormatString,
Function,
ReportMeasure,
ReportMeasureFormatString,
}Expand description
Which property of its owner a DAX expression came from — model-side or report-side.
The graph layer matches on this to decide what kind of edge a discovered
reference produces; the two enumerations (TabularDatabase::dax_expressions
and crate::report::ReportModel::dax_expressions) guarantee every variant
has exactly one production site.
Variants§
Measure
A measure’s own expression.
MeasureFormatString
A measure’s dynamic format string.
MeasureDetailRows
A measure’s detail-rows (drillthrough) expression.
KpiTarget
A KPI’s target expression.
KpiStatus
A KPI’s status expression.
KpiTrend
A KPI’s trend expression.
CalculatedColumn
A calculated column’s expression.
CalculatedTable
The DAX partition expression that materializes a calculated table.
ChangeDetection
An incremental refresh policy’s change-detection expression (TOM pollingExpression): evaluated per partition at refresh time, so deleting what it references breaks refresh.
TableDetailRows
A table’s default detail-rows (drillthrough) expression.
RlsFilter
A role’s row-level-security filter on one table.
CalculationItem
A calculation item’s expression.
CalculationItemFormatString
A calculation item’s dynamic format string.
CalculationGroupNoSelection
A calculation group’s no-selection expression.
CalculationGroupNoSelectionFormatString
A calculation group’s no-selection dynamic format string.
CalculationGroupMultipleOrEmptySelection
A calculation group’s multiple-or-empty-selection expression.
CalculationGroupMultipleOrEmptySelectionFormatString
A calculation group’s multiple-or-empty-selection dynamic format string.
Function
A user-defined function’s body.
ReportMeasure
A report-level measure’s own expression (reportExtensions.json).
ReportMeasureFormatString
A report-level measure’s dynamic format string.
Trait Implementations§
Source§impl Clone for DaxExpressionKind
impl Clone for DaxExpressionKind
Source§fn clone(&self) -> DaxExpressionKind
fn clone(&self) -> DaxExpressionKind
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DaxExpressionKind
Source§impl Debug for DaxExpressionKind
impl Debug for DaxExpressionKind
impl Eq for DaxExpressionKind
Source§impl Hash for DaxExpressionKind
impl Hash for DaxExpressionKind
Source§impl PartialEq for DaxExpressionKind
impl PartialEq for DaxExpressionKind
impl StructuralPartialEq for DaxExpressionKind
Auto Trait Implementations§
impl Freeze for DaxExpressionKind
impl RefUnwindSafe for DaxExpressionKind
impl Send for DaxExpressionKind
impl Sync for DaxExpressionKind
impl Unpin for DaxExpressionKind
impl UnsafeUnpin for DaxExpressionKind
impl UnwindSafe for DaxExpressionKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.