Thank you Santhosh,
It was helpful.
But I'm in close to completion in my query posted above, it would be helpful if you could show in mine.
Itried,
case when Sum (T0.[U_EA_Case]) is null then T0.[U_EA_Case] else T0.[U_EA_Case]- SUM(T2.[U_EA_Case]-T11.[U_EA_Case]-T6.[U_EA_Case]) end as 'Balance'
It dint work.