Forum Discussion
mhankila
4 years agoNew Member
Min date return other value
I would like to return the "Seq. #" that has the oldest "Date Open" ould like to return the "Seq.#" with the oldest "Open Date"
- 4 years ago
mhankila ,
Firstnonblankvalue(Table[date Open], Min([# Seq])
or
calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())
Anonymous
4 years agoNot applicable
mhankila do you mean, the min date from all the rows? or by seq # wise.
If you want the min date of the column rows,
Then use below dax.
MinDate = CALCULATE(MIN([Date Open]), ALL(Table))
IF you want by Seq#
MinDate_By Category =
CALCULATE(MIN(data[Date Open]),ALLEXCEPT(data,data[seq #]))
Do accept the solution if it fulfills your need.
- mhankila4 years agoNew Member
if a seq# is present, i would like to return the seq# according to the open date column