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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello, i am trying to return the volume (marked in yellow) 0.906. it does not seem to be working, I think its something to do with the max date criteria.
i would like to return the latest (max date) for Measure 1, Baseline
I have tried
Test =
CALCULATE (
SUM ( 'DIM - Targets'[Volume] ),
'DIM - Targets'[Measure] = "Measure1",
'DIM - Targets'[Type] = "Baseline",
LASTDATE ( 'DIM - Targets'[Date] )
)
Solved! Go to Solution.
@NewbieJono , try measure like
Last Status = var _max = maxx(filter(ALLSELECTED('DIM - Targets'), 'DIM - Targets'[Measure] = "Measure1" && 'DIM - Targets'[Type] = "Baseline"), 'DIM - Targets'[Date] )
return
CALCULATE(sum( 'DIM - Targets'[Volume] ), filter(('DIM - Targets') , 'DIM - Targets'[Date] =_max))
Latest Date Date | Latest Data
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0
@NewbieJono , try measure like
Last Status = var _max = maxx(filter(ALLSELECTED('DIM - Targets'), 'DIM - Targets'[Measure] = "Measure1" && 'DIM - Targets'[Type] = "Baseline"), 'DIM - Targets'[Date] )
return
CALCULATE(sum( 'DIM - Targets'[Volume] ), filter(('DIM - Targets') , 'DIM - Targets'[Date] =_max))
Latest Date Date | Latest Data
https://amitchandak.medium.com/power-bi-get-the-last-latest-value-of-a-category-d0cf2fcf92d0