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!View all the Fabric Data Days sessions on demand. View schedule
Hi, I have a table(allruns) and I want to create a Measure to look for the lowest running time in the table, after a specified date(01/01/2022) and then give me that date to use in a card. So, in my example, I am looking for the measure to locate the lowest run time after 01/01/2022, which would be 86.97 on the botton row and I want it to return to me the date, whcih is 8/16/25 in this example.
This is the expression I have created from info found online, but it isn't working correctly:
Is anyone able to come up with an expression that will work properly? thanks
Table(allruns):
Solved! Go to Solution.
Hi @AnonGAUser you can try this
Date with Min Runtime =
VAR MinRunTime =
CALCULATE(
MIN(allruns[Runtime]),
allruns[Date] > DATE(2022,1,1)
)
VAR EarliestDateWithMinTime =
CALCULATE(
MIN(allruns[Date]),
allruns[Runtime] = MinRunTime,
allruns[Date] > DATE(2022,1,1)
)
RETURN
EarliestDateWithMinTimein this two stage dax, the goal is find the Min runtime first and then filter by runtime and date to get the exact date.
Thanks
If it helps give a like.
Thanks! That helps so much!
Hi @AnonGAUser you can try this
Date with Min Runtime =
VAR MinRunTime =
CALCULATE(
MIN(allruns[Runtime]),
allruns[Date] > DATE(2022,1,1)
)
VAR EarliestDateWithMinTime =
CALCULATE(
MIN(allruns[Date]),
allruns[Runtime] = MinRunTime,
allruns[Date] > DATE(2022,1,1)
)
RETURN
EarliestDateWithMinTimein this two stage dax, the goal is find the Min runtime first and then filter by runtime and date to get the exact date.
Thanks
If it helps give a like.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!