pub struct ReportMeasure {
pub name: NameKey,
pub expression: String,
pub format_string: Option<String>,
}Expand description
A DAX measure defined in the report (PBIR reportExtensions.json), not the
model.
A report measure bridges usage in both directions: its body references model objects (so it is an expression source the graph must consume), and visuals reference it by name (so it is a reachability root of its own). Name lookup should try report measures before model measures — within its report, a report measure shadows a model measure of the same name.
Fields§
§name: NameKeyMeasure name, unique within its report.
expression: StringThe measure’s DAX expression.
format_string: Option<String>Dynamic format string (DAX).
Trait Implementations§
Source§impl Clone for ReportMeasure
impl Clone for ReportMeasure
Source§fn clone(&self) -> ReportMeasure
fn clone(&self) -> ReportMeasure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReportMeasure
impl Debug for ReportMeasure
impl Eq for ReportMeasure
Source§impl PartialEq for ReportMeasure
impl PartialEq for ReportMeasure
impl StructuralPartialEq for ReportMeasure
Auto Trait Implementations§
impl Freeze for ReportMeasure
impl RefUnwindSafe for ReportMeasure
impl Send for ReportMeasure
impl Sync for ReportMeasure
impl Unpin for ReportMeasure
impl UnsafeUnpin for ReportMeasure
impl UnwindSafe for ReportMeasure
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.