Interface IScalar

interface IScalar {
    description?: string;
    expression: string;
    results: {
        app?: string;
        operator?: IScalarOperator;
        value: string | number;
        variation?: string;
    }[];
    state?: string;
}

Properties

description?: string

Short description

expression: string

Qlik expression

results: {
    app?: string;
    operator?: IScalarOperator;
    value: string | number;
    variation?: string;
}[]

Type declaration

  • Optional app?: string
  • Optional operator?: IScalarOperator
  • value: string | number

    Value to compare

    Accept string, number or expression

    To be evaluated as expressions the values should start with =

    result: 100
    result: "abcd"
    result: "=sum(100)"
  • Optional variation?: string

    What is the accepted variation between the expression and the result. For example:

    • +-5
    • +-0.5%
    • 12 (will assume +12)
    • -3
    • etc
state?: string

TBA