Hi,
You must not use a formula, that is not sufficient. Please implement the coding of SAP Note 1233941 - Start routines for the key figure 0BALANCE (see SAP Note 1153944).
Additionally, please refer to SAP Note 1392817 - Description of the delta procedure for the balance extraction for more information.
Best regards,
Sander