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"
mhankila ,
Firstnonblankvalue(Table[date Open], Min([# Seq])
or
calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())
3 Replies
- amitchandakSuper User
mhankila ,
Firstnonblankvalue(Table[date Open], Min([# Seq])
or
calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())
- AnonymousNot 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.
- mhankilaNew Member
if a seq# is present, i would like to return the seq# according to the open date column