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

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

Reply
jterry
Frequent Visitor

How do I return the minimum date based on a measure value

I was wondering how to return the minimum date based on a measure value

 

I have the table here where created_at is a column in another table 'BudgetViewSnapshot' and subunboughtcount is a measure in a table 'NewSSDetail'

 

Capture.JPG

 

The desired return result would be the minimum date that the subunboughtcount turns to 0. So in this table it would be 12/6/21.

 

Thanks,

 

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

Min Date = MINX( FILTER(BudgetViewSnapshot, [subunboughtcount] = 0), [created_at])

View solution in original post

2 REPLIES 2
johnt75
Super User
Super User

Min Date = MINX( FILTER(BudgetViewSnapshot, [subunboughtcount] = 0), [created_at])

Worked great. Thanks!

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.