I have solved a similar request by cross blending the data source with itself and adding 2 fields for comparision:
textDate (table 1) = TODATE(date,"%Y-%m-%d","%Y-%m-%d")
maxDate (table 2) = TODATE(MAX(date),"%Y-%m-%d","%Y-%m-%d")
then to get the balance for the latest date:
SUM(IF(textDate = maxDate, balance,0))
enter image description here
enter image description here
enter image description here
enter image description here