let(
date,
prop("daily").sort(current.prop("Date")).at(-1),
join([date.prop("Date").formatDate("DD/MM/YYYY"), date.prop("Amount")], ": ")
)
lets(
latest,
prop("daily").sort(current.prop("Date")).at(-1),
second,
prop("daily").sort(current.prop("Date")).at(-2),
latest.prop("Amount") - second.prop("Amount")
)
if(not empty(prop("daily")), "Total days tracked: " + length(prop("daily")), "")
Made by lth_29