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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi Experts,
Here is my simple model. I am trying to get the Latest Temperature from the below table (This is a live stream data)
Not sure why Latest Temp returns blank 😞
Solved! Go to Solution.
I solved it by adding a DateKey column
I solved it by adding a DateKey column
Hi @sathishsam
Try this
Measure=
Var Max_date= Max( 'Table'[Date])
Var Result= Calculate ( Sum( 'RealTimeData'[Temperature]), Filter ( ALL(RealTimeData), [Date]= Max_date))
I hope this may resolve your query.
I hope I answered your question!
It didn't work
Hi @sathishsam
Your date have timestamp as well. Instead of LASTDATE, Try using MAX(table,date). This should work.
MAX didn't work
Hi @sathishsam ,
Please ensure there is no other filter or slicer in the dashboard. Max should work.
alternate way....
I also can see, you already have a measure "maxDt". you can refer that as well.
Latest Temp =calculate(SUM(RealTimeData[Temperature]),allexcept(RealTimeData,RealTimeData[City]), RealTimeData[Date] =[maxDt])
@sathishsam please try the below DAX.
Thanks Mahesh, this is returning me 226.20 (Total Temperature). I am expecting 22.8
@Rupak_bi
ohk, do you want to city wise latest Temperature...?
please brief me on it. Thank You!
yes, at present i have data only for one city (Bangalore)
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!