In my data I have different session_id,counterpartyid,instid,total balance ecl columns. What I want to do is to sum total balance ecl column according to counterpartyid and session_id (group by function).
for example when I filter 147 session formula must show sum of total balance ecl according to counterpartyid column.
(in 147 session for 11111 counterpartyid total balance ecl must be 258+487=745)