Profit and Loss selector this_year Balance balance Revenue REV 1 account_id balance domain -sum Less Costs of Revenue COS 1 account_id balance domain sum Gross Profit GRP 0 balance aggregation REV.balance - COS.balance Less Operating Expenses EXP 1 account_id balance domain sum Operating Income (or Loss) 0 INC balance aggregation REV.balance - COS.balance - EXP.balance Plus Other Income OIN 1 account_id balance domain -sum Less Other Expenses OEXP 1 account_id balance domain sum Net Profit 0 NEP balance aggregation REV.balance + OIN.balance - COS.balance - EXP.balance - OEXP.balance