when i use this formula =date(max({<[Execution Date] = {"<$(=max([Execution Date]))"}>}[Execution Date]),'DD-MMM-YYYY')
for calculating last date it works well but while summing it gives me 0.please check this where i am going wrong also attached qvd if found a solution.