Member Junction
    Preparing search index...

    Interface DataComputation

    A named, pre-computed aggregation or metric.

    interface DataComputation {
        description?: string;
        field?: string;
        formattedValue?: string;
        name: string;
        table?: string;
        type:
            | "custom"
            | "count"
            | "sum"
            | "avg"
            | "min"
            | "max"
            | "median"
            | "distinct_count";
        value: string
        | number
        | boolean;
    }
    Index

    Properties

    description?: string

    Explanation of what this computation represents

    field?: string

    Source field this computation operates on

    formattedValue?: string

    Human-formatted display value: "$1,234,567.89"

    name: string

    Display name: "Total Revenue", "Average Order Value"

    table?: string

    Which table this computation belongs to (for cross-table snapshots)

    type:
        | "custom"
        | "count"
        | "sum"
        | "avg"
        | "min"
        | "max"
        | "median"
        | "distinct_count"

    Type of aggregation

    value: string | number | boolean

    The computed value