Forum Discussion
ratercero
8 years agoHelper III
Formula not showing earliest Value
Hello, Im looking to determine the first dyelot nomber produces with a certain color and Yarn lot, the formula keeps showing another dyelot number: Here is the formula I used: Yarn First...
- 8 years ago
Hi ratercero,
Try this formula, please.
Measure = VAR earliestDate = CALCULATE ( MIN ( HILAZA_ACUM[FECHA] ), ALLEXCEPT ( HILAZA_ACUM, HILAZA_ACUM[Cod. Color], HILAZA_ACUM[LOTE HILAZA DEPURADO] ) ) RETURN CALCULATE ( MIN ( HILAZA_ACUM[DYELOT] ), FILTER ( ALLEXCEPT ( HILAZA_ACUM, HILAZA_ACUM[Cod. Color], HILAZA_ACUM[LOTE HILAZA DEPURADO] ), HILAZA_ACUM[FECHA] = earliestDate ) )Best Regards,
Dale
v-jiascu-msft
7 years agoMicrosoft Employee