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
Hello, i want to show on a card the last value (from timestamp) of my progression , i tried LASTNONBLANK('Project'[data.progress],1) but it returns 0.88 which is not the last value (0.83)
thanks
Solved! Go to Solution.
Hi @raykhey ,
The following DAX might work for you:
lastdata =
VAR Lasttimestamp = CALCULATE(LASTDATE('project'[timestamp]),ALLSELECTED(project))
RETURN
CALCULATE(SUM(project[data.progress]),project[timestamp]=Lasttimestamp)
The final output is shown in the following figure:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @raykhey ,
The following DAX might work for you:
lastdata =
VAR Lasttimestamp = CALCULATE(LASTDATE('project'[timestamp]),ALLSELECTED(project))
RETURN
CALCULATE(SUM(project[data.progress]),project[timestamp]=Lasttimestamp)
The final output is shown in the following figure:
Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hey Raykhey,
If you don't need to know the value of the preceding dates (Where the .88 is occurring) the following DAX might work for you.
Last Value Progress =
var max_date = MAX('Table'[timestamp])
var return_value = Calculate(MAXX(TOPN(1,'Table'),'Table[data.progress]), 'Table'[timestamp] = max_date)
return
return_value
I'm not sure what your table looks like but that should do the trick for pulling the last value from the table.
Let me know if that works or you have any questions!
Best,
JTB
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!