...
Solution: Introduce a user-defined parameter field in the report and create a new expression to achieve this.
Open the report "Income and Expense (Operational)" report from Accounting > Reports of Accounting.
Go to More action > Change report variant > Add a new expression field
...
Click on OK to save the formula.
Go to fields the Fields tab , and add the Useruser-defined field to the selected field Selected Fields section, as shown below-.
Double-click on the Income/Expense item from the upper pane. Then, add the user-defined field to the right side of the dialog box i.e. in Edit Grouping Field.
...