MAIDR Documentation - v4.4.0
    Preparing search index...

    Interface TableauDataValue

    One cell of summary data.

    Both value members are optional and typed unknown: IncludeDataValuesOption lets a caller ask for only one of them, and Tableau turns special values (%null%, %no-access%) into null on nativeValue. Narrowing happens in the coercion helpers in fields.ts, never at a call site.

    interface TableauDataValue {
        value?: unknown;
        nativeValue?: unknown;
        formattedValue?: string;
        aliasValue?: string;
        hasAlias?: boolean;
    }
    Index

    Properties

    value?: unknown

    Raw value; special values arrive as the sentinel strings, not as null.

    nativeValue?: unknown

    Native JS value (string | number | boolean | Date), or null.

    formattedValue?: string

    Worksheet-formatted text — what a reader should hear.

    aliasValue?: string
    hasAlias?: boolean