How to display sum of a fields in forest admin

Feature(s) impacted

Observed behavior

Expected behavior

Failure Logs


  • Project name: whydonate-admin
  • Team name: operations
  • Environment name: Staging
  • Agent (forest package) name & version: forest-express-sequelize 9.3.10
  • Database type: mySQL
  • Recent changes made on your end if any: No

Hi Team Forest Admin,

Please refer to the attached screenshots. In Forest Admin, there is a row count displayed on the bottom right side. Similarly, I would like to display the sum of a specific field, for example, the sum of the “amount” field.

Could you please assist me in achieving this?

Thank you.

Hello @Zaeem_Ahmad,

Thanks for your message :raised_hands:

What you want to achieve is very interesting.
It’s not possible out the box though.
I’m going to create a feature request in our Product board.

In the meantime, I’m trying to think about a workaround.
The only thing I can think about is to create a smart view, create a view that you like and add the sum that you wanted on top of it.
But that’s a bit of work…

Let me know!

1 Like

Thanks for rapid Response @adriguy

1 Like