Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mhankila
New Member

Min date return other value

I would like to return the "Seq. #" that has the oldest "Date Open"

 

mhankila_0-1658418228441.png

 

ould like to return the "Seq.#" with the oldest "Open Date"

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@mhankila ,

 

Firstnonblankvalue(Table[date Open], Min([# Seq])

 

or

 

calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Anonymous
Not 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.

if a seq# is present, i would like to return the seq# according to the open date column

amitchandak
Super User
Super User

@mhankila ,

 

Firstnonblankvalue(Table[date Open], Min([# Seq])

 

or

 

calculate(Firstnonblankvalue(Table[date Open], Min([# Seq]) , allselected())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.