All components

First True Month

Find the first true month, or zero when none exists.

How it works

First True Month (1)
  1. Month

    (if (Reduce min using Values = 121), then 0, otherwise Reduce min using Values × 1)

Calculation steps (1)
  1. Reduce min using Values

    Lowest value(if (Values > 0), then Positions in series(Values), otherwise 121)

    Uses

Inputs and outputs

Inputs (1)
Inputs
NameUnitApplies to
ValuesFlagMonth
Outputs (1)
Outputs
NameUnitApplies to
MonthMonthsSingle value

Recipes using this calculation

Libraries