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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Calculating Min Date and value

I have the following data and I'd like to create a measure that gives me the days that correspond with the min AH_PostDate. I'll need to use this measure in other areas of the report.  

 

I'm using the following formula to calculate min AH_Post Date.  I'd like the data to return in each 

 
 
Measure = CALCULATE(MIN(Query1[AH_InvoiceDate]) )
 
 
 

Capture.PNG

 

                                 AH_job          AH_POstDate    Velocity1

Result Expected is:   B00014785  1/20/2016            15

 

 

2 REPLIES 2
lbendlin
Super User
Super User

And is the result not what you expected?  Have you considered the use of ALLSELECTED() ?

Anonymous
Not applicable

I'll give all selected a try.  But I'm looking for the below result. 

 

                                 AH_job          AH_POstDate    Velocity1

Result Expected is:   B00014785  1/20/2016            15

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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