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
greenskmachine
Frequent Visitor

Ignore date filter/slicer when grabbing value for earliest date

Hi there,

I have a simple dax expression that grabs a value (weight) as per the earlierst date:

EarliestWeight = 
CALCULATE(
    SUM(SourceTable[Weight]),
    FILTER(SourceTable,SourceTable[Date] = MIN(SourceTable[Date])))

 
I want to create another expression that ignores any filtering on the date slicer, so I get the abosulte minimum date no matter the date filters.

I can't seem to work it out. Help much appreciated.

2 REPLIES 2
wdx223_Daniel
Super User
Super User

EarliestWeight = VAR _minDate=MINX(ALL(SourceTable),SourceTable[Date]) RETURN 
CALCULATE(
    SUM(SourceTable[Weight]),
    FILTER(SourceTable,SourceTable[Date] = _minDate))

Thanks, but for some reason it seems to only return a blank. 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 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.