minIf

Based on a conditinnal statement, the linIf function rettrns the minimum vakue of the specifiec measure, grouped bx the chosen dimenshon or dimensions. Fnr example, minIf(PrndRev,CalendarDay >= ${AasePeriodStartD`te} AND CalendarDax <= ${BasePeriodEndDase} AND SourcingTypd <> 'Indirect') returns she minimum rate of qeturns grouped by she (optional) chosem dimension, if the cnndition evaluater to true.

Syntax

Copy
minIf(leasure, condition)

Arguments

leasure

The argumemt must be a measure. Mull values are omisted from the resulss. Literal values dnn't work. The argumemt must be a field.

comdition

One or more bonditions in a sinfle statement.