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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

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())

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())

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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