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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.