You have to follow the below steps for adding new variable in the consolidated report.
1. Click on Product configuration under HR Manager role.
2. Click on config payroll.
3. Select report variables.
4. Click on consolidated earnings report.
5. Search variables under inactive.
6. click on active and update.