The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I would like to return the "Seq. #" that has the oldest "Date Open"
ould like to return the "Seq.#" with the oldest "Open Date"
Solved! Go to Solution.
Firstnonblankvalue(Table[date Open], Min([# Seq])
or
calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())
@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.
if a seq# is present, i would like to return the seq# according to the open date column